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)
I have a Ninja Strategy which Backtests perfectly but returns errors when traded live in Sim . Any help would be appreciated in finding the necessary adjustments which need to be made to the Strategy.
This is NT's reply about the problem
Please find some screenshots of the strategy code I don't wish to disclose the full code at this time any help would be appreciated
Can you help answer these questions from other members on NexusFi?
GAIN (FOREX.com) buy limit orders above the ask and sell limit below the bid are not valid and will be rejected. NinjaTrader's simulator takes into account this GAIN specific limitation. During a backtest, there is no associated brokerage account so these orders are valid. You should replace these orders with market orders.
Marketable limit orders are used to control slippage. I understand that it is possible to use this order type with real accounts and for backtests, and that the limitation only applies to the simulator and to some broker accounts, if required by the broker.
Please correct me if I did not understand it correctly.