My latest attempt is to add the 1 second data stream of my instrument and watch for the proper time in OnBarUpdate. Unfortunately, the instrument doesn't have an OnBarUpdate for every second. I can still use that method for grabbing the latest price, but I need some way to call a decision function 2 seconds before the next bar close or 58 seconds after each minute OnBarUpdate.
Thanks!
Comment