Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Hi, I have been researching a lot about this subject and finally have arrived to the conclusion that with this two sentences for instance:
Buy next bar at market;
Buy next bar at ... limit;
There is a latency not simple to see. One would expect to buy at market or to place the limit order in the moment the strategy generates the order, however "Next Bar" implies that for the strategy to send the order to the broker the next bar that we are trying to buy has to be formed with at least one tick. In higly liquid markets this could be a bunch of milliseconds but in other not so liquid it could be perfectly 1 min. I have realised that in some cases my order gets filled two bars after the order should theoretically be sent.
I'll appreciate some comments on this, and if someone would know how to send the order in the instant that the last bar close, not waiting for a new tick in the next bar, or if this could be fixed in other platforms. Thanks.
Can you help answer these questions from other members on NexusFi?
Multicharts and Tradestation for that matter are event driven, meaning the code gets executed only when there is an event triggering it - in general that would be a new tick arriving.
You can look into using timers to forcefully recalculate your code and send orders even when there is no new tick arriving. The one "limitation" for that is that is, it only works in realtime.