I am trying to have an add-on that loads when Ninjatrader opens, and has the ability to reject my trades.
Is this possible with the standard shipped API in Ninjatrader?
I need this, as the goal is to create an add on that will reject my trades if certain conditions arent completed.
To be clear, when I say reject, I mean the add-on can see that I am trying to submit a trade (like I hit market buy or market sell) and before ninjatrader actually sends that to the exchange, I want to entirely reject it.
I don’t want to have the order make it to the exchange, because trying to cancel it at that point would be unreliable.
If this is possible, can I please be pointed in the right direction, perhaps with the API calls to use for this.
Cheers,
Ian