NexusFi: Find Your Edge


Home Menu

 





Running same strategy in live and sim a the same time


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Ducman with 1 posts (0 thanks)
    2. looks_two nourozi with 1 posts (0 thanks)
    3. looks_3 Daytrader999 with 1 posts (1 thanks)
    4. looks_4 kanepa with 1 posts (0 thanks)
    1. trending_up 2,089 views
    2. thumb_up 1 thanks given
    3. group 4 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread

Running same strategy in live and sim a the same time

  #1 (permalink)
nourozi
New Zealand
 
Posts: 92 since Jun 2013
Thanks Given: 52
Thanks Received: 30

Hi there,

I have an automated NinjaScript strategy that I would like to test in a live account for the first time. I would also like to run the exact same strategy in live simulation mode to compare the results. Would this be as easy as opening 2 charts, one with my live account selected and one with my SIM 101 account selected and running the strategy on separate charts?

Thanks,

Erfan.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
How to apply profiles
Traders Hideout
MC PL editor upgrade
MultiCharts
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Tao te Trade: way of the WLD
24 thanks
Just another trading journal: PA, Wyckoff & Trends
23 thanks
Bigger Wins or Fewer Losses?
21 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #2 (permalink)
 
Daytrader999's Avatar
 Daytrader999 
Ilsede, Germany
Site Moderator
 
Experience: Advanced
Platform: NinjaTrader 8
Broker: Rithmic / CQG / Ninja Trader Brokerage
Trading: NQ
Posts: 1,525 since Sep 2011
Thanks Given: 2,067
Thanks Received: 2,316


nourozi View Post
Hi there,

I have an automated NinjaScript strategy that I would like to test in a live account for the first time. I would also like to run the exact same strategy in live simulation mode to compare the results. Would this be as easy as opening 2 charts, one with my live account selected and one with my SIM 101 account selected and running the strategy on separate charts?

Thanks,

Erfan.

Yes, since an active strategy is being particularly assigned to one account, you can simply pull up two (or more) charts of the same instrument and select different accounts.

"If you don't design your own life plan, chances are you'll fall into someone else's plan. And guess what they have planned for you? Not much." - Jim Rohn
Reply With Quote
Thanked by:
  #3 (permalink)
 
Ducman's Avatar
 Ducman 
The Netherlands
 
Experience: Intermediate
Platform: NinjaTrader 8
Broker: NINJATRADER Brokerage / Continuum
Trading: CL
Posts: 473 since Nov 2010
Thanks Given: 413
Thanks Received: 640


Hello,

Using this thread because it's the closest to my question.

I'm looking for a way to switch between Sim trading and Live trading based on the automated Strategy results. Let's say my Strategy characteristics are such that positive trades and negative trades always come in a row and I want to stop Live trading after the first negative trade and start Live trading trading again after the first positive trade. How can I keep on generating trading results w/o being in the market all the time?

Would it be possible to:

1. Automatically switch from Sim account to Live account and visa versa within the same automated Strategy,
2. or can I use the result of a Sim account Strat that runs in parallel with the Live account Strat as input for the Live account Strat,
3. or is the only way to simulate the trade within the Live account Strat and switch trading on and off within the code.

Solution #1 would be the cleanest way to go and I tried to figure out but I got stuck. Who can give me some hints.

Thanks for helping out,

Ducman

Still on 7

Visit my NexusFi Trade Journal Reply With Quote
  #4 (permalink)
 kanepa 
philadelphia pa
 
Experience: Intermediate
Platform: ninja
Broker: NinjaTrader Brokerage
Trading: es
Posts: 202 since Jul 2017
Thanks Given: 348
Thanks Received: 409


nourozi View Post
Hi there,

I have an automated NinjaScript strategy that I would like to test in a live account for the first time. I would also like to run the exact same strategy in live simulation mode to compare the results. Would this be as easy as opening 2 charts, one with my live account selected and one with my SIM 101 account selected and running the strategy on separate charts?

Thanks,

Erfan.

Yes. It is that easy. Open first chart and load up strategy and able it for sim. Then open up another chart and load up the strategy and change to real account. I have it running both to compare slippages.

Visit my NexusFi Trade Journal Reply With Quote




Last Updated on February 12, 2018


© 2024 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 - Privacy Policy - Downloads - Top
no new posts