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 all. I'm looking to be able to send an HTTP request whenever an order is placed on NT via the dom or chart trader. I do not want to have to trade any differently than I already am, I just want a transparent method for sending an HTTP request whenever I do trade.
In speaking with NT, they say there are not any supported/documented ways for an indicator to do this. I also cannot find any information out there about any undocumented methods for an indicator to listen for order execution.
Thoughts? Suggestions?
Thanks.
Can you help answer these questions from other members on NexusFi?
// Example #2
// Generic execution logic not specific to a particular IOrder object
protected override void OnExecution(IExecution execution)
{
// Remember to check the underlying IOrder object for null before trying to access its properties
if (execution.Order != null && execution.Order.OrderState == OrderState.Filled)
Print(execution.ToString());
}
Maybe you can have a strategy that runs throughout the day. The strategy does not issue orders. The only thing that this strategy does is look for order executions.
I haven't used NT in a long while, but quite certain that won't work. OnExecution() would only work for orders the strategy itself execute.
There are other undocumented hooks. I think if you look at some of the more complex examples on futures.io (formerly BMT) Elite section you'll find code that uses these hooks already. I just can't give a specific link, since I don't use these tools I only have a passing knowledge of them.
Hi DoobyWho, I will be releasing a significantly upgraded futures.io (formerly BMT) screenshot/chart minder package in the next few days that should be able to do the sort of thing you want to do, for example we could have OnExecution trigger an event …
will support an 'on execution' save/post capability, the hooks seems to work fine, and I think should be ok for manual and bot triggered trades, testing will reveal all.