N.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
backtesting futures
Collapse
X
-
-
Hello,
Thank you for your forum post.
When you run out of margin no more trades will be accepted. Your position will not liquidate as it might in a live situation with some brokers. You simply would no be able to place another order until you are back under the margin limit or your reset the simulator account.
Resetting a simulation account will clear all historical trade data from this account. Please follow the instructions below to reset a simulation account.
From the NinjaTrader Control Center window select the menu Tools > Options
Select the "Simulator" tab
Press the "Reset" button
Let me know if I can be of further assistance.
-
Comment
-
No, it has to have different equation, as sometimes it is equal to profit factor, sometimes to sharpe and sometimes it is totally different from those two.
I am saying that I have seen results, when Performance was -0,05, Sharpe 0,85 and Profit Factor 2,55.
Comment
-
margin, futures contracts backtesting and position liquidation
Brett,
you previously wrote "When you run out of margin no more trades will be accepted. Your position will not liquidate as it might in a live situation with some brokers. You simply would no be able to place another order until you are back under the margin limit or your reset the simulator account."
BUT that is not true. So it is not behaving even as in the bad solution to margin treatment and backtesting you indicated.
Please see the attached image and tell me how can I simulate reality in backtest when my script allows that (it trades for bar open for market on highly liquid markets and it does not use stoploss or profit target - that would distort backtest results from reality).
I need (and I think I am not the only one who would like to have reality-close tests on futures contracts) NT7 to liquidate position when the margin level has been reached, with this option enable, the futures backtesting would be very simple. Now it is simply not useful at all. By default there is margin zero for each commodity in NT7, do not change that, just add in the Simulator options a boolean option to Liquidate position when margin is reached (adjustable to true) and let the user to set there themargin value of his/her broker.
Only then your futures contracts backtests can get closer to reality.
Thank you
N.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Max238, Today, 01:28 AM
|
1 response
21 views
0 likes
|
Last Post
by CactusMan
Today, 06:18 AM
|
||
Started by giulyko00, Yesterday, 12:03 PM
|
2 responses
10 views
0 likes
|
Last Post
by giulyko00
Today, 06:11 AM
|
||
Started by r68cervera, Today, 05:29 AM
|
0 responses
4 views
0 likes
|
Last Post
by r68cervera
Today, 05:29 AM
|
||
Started by geddyisodin, Today, 05:20 AM
|
0 responses
6 views
0 likes
|
Last Post
by geddyisodin
Today, 05:20 AM
|
||
Started by JonesJoker, 04-22-2024, 12:23 PM
|
6 responses
37 views
0 likes
|
Last Post
by JonesJoker
Today, 05:14 AM
|
Comment