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)
Running same strategy in live and sim a the same time
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.
Can you help answer these questions from other members on NexusFi?
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
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.
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.