I've just become aware that add-ons can do some order management. I've been thinking about developing a strategy, but me preference would be to use a custom indicator. Indicators, as far as I can see, can't do much with placing and managing orders, other than using OIF files. Assuming I were happy with using OIF files to place orders, would an add-on be able to detect whether or not the order were filled after one bar and cancel it if it were not? Part of the challenge is that, for whatever reason, when I create instances of the indicators I'm interested using in my strategy code, the values are not the same as they are when I plot the indicator. I've checked the parameters several times to make sure they are the same.
Side question - how much latency does using OIF files vs. an API call add to placing an order? I have a fast (new) computer with a new SSD drive. I'm trying to figure out if it
s a little slower, five times slower, ten times slower, etc. Thanks,
Gordon
Comment