NexusFi: Find Your Edge


Home Menu

 





Using a NinjaTrader strategy for execution in TradeStation


Discussion in Platforms and Indicators

Updated
    1. trending_up 10,422 views
    2. thumb_up 10 thanks given
    3. group 2 followers
    1. forum 10 posts
    2. attach_file 0 attachments




 
Search this Thread
  #11 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,758 since Jun 2009
Thanks Given: 3,828
Thanks Received: 4,643


bobwest View Post
Got it. Inter-application communication is always tricky, when there is no actual interface designed for it (and even when there is.) This looks like it would work, but it seems like a lot to do just to be able to run an NT strategy instead of creating one in TS in the first place. But I could see it if the reasons were strong enough....

My worry would be potential missed communications, and how to be sure that nothing had been missed. I would also want to get confirmation back to the NT strategy that the orders had been sent and executed, so it would not just assume there were no issues in terms of the broker and the exchange either. (For instance, your limit order not executing or something else other than pure success at the expected price.) Otherwise, the NT strategy might just merrily roll on, not realizing it didn't have the position it thought it had and perhaps firing off orders against it -- such as, trying to close a long position that didn't exist in the market with a sell order, creating a new short.

But if you worked at it you could probably solve anything.

Thanks for the answer.

Bob.

Yes, that's the tricky aspect.
I wrote something to replicate orders from on NinjaTrader (the Master) to other NinjaTrader instance(s) (the Slave(s)) and I resolved this in having a kind of dashboard which shows the orders/positions on the Master and the orders/positions on the Slave(s). In this case you can see the differences in fills, if the pending orders are similar on both instances and so on.
It would be necessary to have something check the NT positions/orders vs TS positions/orders (while an intra-machine communication have a smaller failure probability than two machines seeing each other across Internet).


Success requires no deodorant! (Sun Tzu)
Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Kalshi Sets $4.13B All-Time Weekly Record as Polymarket …
Prediction Markets & Event Contracts
Post-Summit Market Verdict: ES -1%, NQ -1.5%, 10-Year Yi …
Traders Hideout
Post-Summit Scorecard: $36M in May 15 Bets Settle Near-Z …
Prediction Markets & Event Contracts
The 50/50 Paradox: Peace and Invasion Each at 20% -- Ira …
Prediction Markets & Event Contracts
Saylors 41-Month HODL Breaks: Strategy Sells 32 BTC as $ …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
6 thanks
Darmok and Jalad at Tanagra
1 thanks




Last Updated on October 20, 2020


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts