- ago
The strategy cancels entry and exit limit orders. By default, if an order is not filled and processed after n-bars, the compiler would automatically cancel the order. This is true for an Entry/Exit. How to delay or change the cancelling time ?


1
615
Solved
5 Replies

Reply

Bookmark

Sort
Cone8
 ( 6.32% )
- ago
#1
If you want automate orders in a more granular way, then you have to trade with more granular data. But if you're trading 5 minute bars, for example, then orders are placed and/or canceled on 5-minute intervals, period.
0
- ago
#2
Thanks Cone!
This technique is not working least in this strategy, trading by 1-minute bar. Waiting time has benefits in trading. The strategy automatically cancels standing exit orders that have not been filled. This is not beneficial in any way. There needs to be way to change the default settings for canceling order. Any suggestions is appreciated
0
Glitch8
 ( 12.10% )
- ago
#3
You need to then have your strategy KEEP ISSUING THE ORDER until such a time that you really do want it to get canceled. That’s just how WL works and we don’t need some new additional parameter to keep such orders alive for an extended period 🤷🏼‍♂️
2
Best Answer
- ago
#4
I don't follow the problem. If 1-minute bars aren't long enough to fill a potential order, then use 5 or 10 minute bars instead.

I use Daily bars for everything, but I always place Stop or Limit orders so if the price hits the trigger anytime during the day, the trade automatically occurs. It sounds to me like you're not making good use of Stop and Limit orders.
0
Cone8
 ( 6.32% )
- ago
#5
@Crash - It seems you want to wait for the fills sometimes and other times you want to cancel. Let's assume a backtested 30-minute interval, or an interval of your choosing.

1. Please give a concrete example of when you want to allow a signal, a stop or limit order, all 30 minutes to fill..

2. Provide another example of when you want to cancel that order within the interval.
1

Reply

Bookmark

Sort