NexusFi: Find Your Edge


Home Menu

 





Pseudo-Parallelization in NT?


Discussion in NinjaTrader

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




 
Search this Thread
  #1 (permalink)
 
serac's Avatar
 serac 
Arizona, USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: MB Trading
Trading: Cello
Posts: 116 since Jan 2011
Thanks Given: 321
Thanks Received: 138

I have come up with a potentially fruitful automated strategy. The problem is, it is very computationally intensive. Running real time shouldn't be an issue. But, backtesting and Market Replay is showing processor bottlenecks. It seems NT runs a strategy on a single processor unless you are optimizing in the Strategy Analyzer.

As to be expected, parallelized for loops as supported in .NET 4.0 are not supported in NT (I can't even declare 'using System.Threading.Tasks'). A parallelized loop is exactly what I need.

Has anyone figured out how do get around this? Is there a workaround? NT support hinting that there was in their reply ( Parallelization not Possible? - NinjaTrader Support Forum). But to be honest, I do not completely understand the content of the links. I'm a math guy, not a CS guy.

Any suggestions?


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Trump Lands in Beijing on CPI Day: Iran Peace Expires To …
Prediction Markets & Event Contracts
Warsh Opens Today, Hormuz June 19 -- WTI Below $80, Fran …
Prediction Markets & Event Contracts
CME Expands 24/7 Trading to WTI Crude Oil and Gold -- We …
Commodities
Al Arabiya: US-Iran Draft Deal Within Hours Contains Hor …
Prediction Markets & Event Contracts
Post-Summit Scorecard: $36M in May 15 Bets Settle Near-Z …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
10 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks




Last Updated on August 21, 2012


© 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