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 jaybedreamin, Today, 05:56 PM
|
0 responses
7 views
0 likes
|
Last Post
by jaybedreamin
Today, 05:56 PM
|
||
Started by DJ888, 04-16-2024, 06:09 PM
|
6 responses
18 views
0 likes
|
Last Post
by DJ888
Today, 05:12 PM
|
||
Started by Jon17, Today, 04:33 PM
|
0 responses
1 view
0 likes
|
Last Post
by Jon17
Today, 04:33 PM
|
||
Started by Javierw.ok, Today, 04:12 PM
|
0 responses
9 views
0 likes
|
Last Post
by Javierw.ok
Today, 04:12 PM
|
||
Started by timmbbo, Today, 08:59 AM
|
2 responses
10 views
0 likes
|
Last Post
by bltdavid
Today, 04:10 PM
|
Comment