Today the system worked after checking the preferences OCO for trading, and adding the code supported here :
https://www.wealth-lab.com/Support/ApiReference/Transaction#AutoProfitTargetPrice
Once the code was in place and the OCO was enabled , the process worked almost exactly as expected. Then I noticed they were to expire in the DAY.
Question, there probably is a way, but immediately not obvious, to force Good-Til-Cancel (GTC)? Or will I then run into position memory issues? the multi-position become an issue.
Thank You in advance...
And Thank You @Cone for the AssignAutoStopTargetPrices reference!
https://www.wealth-lab.com/Support/ApiReference/Transaction#AutoProfitTargetPrice
Once the code was in place and the OCO was enabled , the process worked almost exactly as expected. Then I noticed they were to expire in the DAY.
Question, there probably is a way, but immediately not obvious, to force Good-Til-Cancel (GTC)? Or will I then run into position memory issues? the multi-position become an issue.
Thank You in advance...
And Thank You @Cone for the AssignAutoStopTargetPrices reference!
Rename
WL doesn't support GTC orders but you can vote for this request:
https://www.wealth-lab.com/Discussion/Allow-an-Order-to-Trade-in-Pre-Post-Market-6754
https://www.wealth-lab.com/Discussion/Allow-an-Order-to-Trade-in-Pre-Post-Market-6754
Although I understand the buy order being a day. Another BUY would be generated the next day.
The sell orders could be GTC, since the position is still active and the STOPLOSS and PROFIT sell orders should remain alive until either are executed? Specifically for the Auto Price C# sequence?
The sell orders could be GTC, since the position is still active and the STOPLOSS and PROFIT sell orders should remain alive until either are executed? Specifically for the Auto Price C# sequence?
Although we could assign a GTC TIF for Weekly+ strategies, it's probably not in the cards for the Daily scale.
The way it works:
A Strategy generates (or doesn't) Signal(s) for each bar. If the signal doesn't change, nothing is required and the order persists from bar to bar. But when a Signal is removed on the following bar, the subsystem interprets this as a cancel.
Daily strategies "cancel" unexecuted orders implicitly with the Day TIF. I don't think anyone would prefer to make sure Wealth-Lab was connected to cancel a GTC order for EOD Strategies. I would not.
To trade a Daily scale (EOD) strategy, you have to run the strategy each day and place the signals at the start of the day. Even in your multiple-position case, you'd need to do this anyway. If you had to, you could manually change the TIFs in the broker app to GTC.
Make sure to get WL8 Build 7 - Auto-Trading just got much better!
The way it works:
A Strategy generates (or doesn't) Signal(s) for each bar. If the signal doesn't change, nothing is required and the order persists from bar to bar. But when a Signal is removed on the following bar, the subsystem interprets this as a cancel.
Daily strategies "cancel" unexecuted orders implicitly with the Day TIF. I don't think anyone would prefer to make sure Wealth-Lab was connected to cancel a GTC order for EOD Strategies. I would not.
To trade a Daily scale (EOD) strategy, you have to run the strategy each day and place the signals at the start of the day. Even in your multiple-position case, you'd need to do this anyway. If you had to, you could manually change the TIFs in the broker app to GTC.
Make sure to get WL8 Build 7 - Auto-Trading just got much better!
Your Response
Post
Edit Post
Login is required