![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Version 7 Beta General Questions & Bug Reports Ask questions here and post bug reports. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Mar 2008
Posts: 41
Thanks: 0
Thanked 0 times in 0 posts
|
The DOM does not seem to be working correctly.
It seems that the calculation of profit/loss of number of ticks (open trade) or $$ (if selected) is off by 1 or more ticks from last trade price. Example: YM short 4 at 10711. Current last trade = 10708. Commission is $2.1 per side. DOM shows $11.60 open profit. Should be $51.60. Looks like it may be based on bid/ask instead of last? Using MB Trading live data - SIM account. YM 06-10 ATM Strategy - 1 target |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,232
Thanks: 83
Thanked 333 times in 325 posts
|
Hello hotdog,
Can you please doublecheck if you are in a position for 4 contracts. When I test the YM 06-10 on my end, PnL is reported as expected. Please create a new SuperDOM and check if the issue persists. Post a screenshot of the issue as well, if possible.
Jason
NinjaTrader Customer Service |
|
|
|
|
|
#3 | |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
Quote:
Ray
NinjaTrader Customer Service |
|
|
|
|
|
|
#4 |
|
Member
Join Date: Mar 2008
Posts: 41
Thanks: 0
Thanked 0 times in 0 posts
|
Thanks, Ray. Looks like that was the problem. Also, I discovered the other problem with orders immediately being closed and strategy orders being canceled was due to DOM resetting the Parameter Type to Price instead of TICKS.
What is the purpose of this field? Further testing shows that setting the DOM Parameter Type default to TICKS and closing/opening DOM, default is not saved. It continues to revert to Price instead of TICKS. Looks like a bug.
Last edited by hotdog; 03-19-2010 at 09:19 AM.
|
|
|
|
|
|
#5 |
|
NinjaTrader Customer Service
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,232
Thanks: 83
Thanked 333 times in 325 posts
|
Hello hotdog,
The 'Parameter type' setting will set the format of values you enter in ATM strategy fields. Could it be you have an ATM template selected in the SuperDOM that was created when 'Parameter type' was set to Price? Please set 'ATM strategy' to None and set the 'Parameter type' setting to your liking. Click Set Default. Check if the setting is saved. Your ATM strategy did not work as expected, because it submitted orders at prices that most likely rejected the orders.
Jason
NinjaTrader Customer Service |
|
|
|
|
|
#6 |
|
Member
Join Date: Mar 2008
Posts: 41
Thanks: 0
Thanked 0 times in 0 posts
|
Thank you. I have tried your suggestion.
However, one additional step was required. The ATM Strategy had to be recreated under a new name or else the problem kept re-occurring every time a new DOM was opened. Working well now, it seems. |
|
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Incorrect average price on the DOM | aldente | SuperDOM and other Order Entry Windows | 2 | 06-21-2009 09:28 PM |
| Incorrect calculation of trades per day in volume bar backtest | RandyT | Strategy Analyzer | 1 | 10-06-2008 08:29 AM |
| Calculation Errors | Mike Winfrey | Indicator Development | 9 | 05-12-2008 05:00 AM |
| Changing from Dynamic DOM to Static DOM | Antraman | Installation and Licensing | 1 | 01-01-2007 03:29 AM |
| DOM Position Calculation | Json | Suggestions And Feedback | 6 | 11-14-2006 06:01 AM |