English
Back
Download
Log in to access Online Inquiry
Back to the Top
[Survey with Rewards] Share your Algo Trading experience and win up to $100 Cash Rewards
Views 63K Contents 489

Using code to close positions

I have tested the code to do place buy orders and backtested the code. It works on entering new buy positions. However, when I try to use liquidate these buy positions, it does not work on backtest. Is it not possible to backtest closing positions? Do I use liquidate or do I use sell orders to close these positions?
Disclaimer: Community is offered by Moomoo Technologies Inc. and is for educational purposes only. Read more
1
+0
1
Translate
Report
5940 Views
Comment
Sign in to post a comment
1
Follower
3
Following
6
Visitors
Follow
Discussing
Trump 2.0 Era: How will global markets evolve?
🎙️Discussion: 1. How will tariff policies affect the movement of key assets such as U.S. stocks, gold, and Bitcoin? 2. Given this context, Show More