![]() |
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
|
|||||||
| Miscellaneous Support Miscellaneous support issues. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Apr 2011
Posts: 11
Thanks: 4
Thanked 0 times in 0 posts
|
Please see the attached gif file to illustrate this issue.
When entering a new position from a flattened state on the Sim101 account, the AvgPrice is not correct, and is almost 10 points off. This results in erroneous PnL information while still in the position. I did receive an error when entering the position: "Order has exceeded available account equity. Please reduce order size...". If this is causing the problem, shouldn't ninja recognize this condition and still be able to calculate an avg price based on the contracts it allows to enter the position? Would this behavior be the same in a live account? It's very confusing to see the average price and PnL so far off when trading using chart trader. Thanks for your help and any suggestions you may have.
Last edited by RogBear; 07-11-2012 at 12:22 PM.
|
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
|
Hi RogBear,
Best would be to retest this same scenario while having sufficient account balance in your sim 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 Positon average price can vary based on this setting under Tools > Options > Data tab. I suggest trying with that setting on / off to see the impact when scaling into positions. Use FiFo for Position Average Price calculations. We can check your diagnostic files to see the sequence that lead to this: Please send using Help > Mail to support feature and include reference to this thread.
Ryan M
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Apr 2011
Posts: 11
Thanks: 4
Thanked 0 times in 0 posts
|
Thanks Ryan,
I did not mean to imply that I ALWAYS get the wrong entry (avg) price. As far as I know, it only happens when I try to trade too many contracts for the account and get that error. I was wondering if the same thing would happen in a live account, since in my mind, that could be dangerously misleading. I will send the log files in case they help. |
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
|
Thanks. I'll see if I can reproduce that here with insufficient sim balance. If it only happens when you run out of sim money, it's not the type of issue you would see in live trading.
For live trading unrealized PnL we rely on the execution prices reported by the connection API. We aren't aware of any current issues in this area. Some providers do supply the position average price value (seen on positions tab).
Ryan M
NinjaTrader Customer Service
Last edited by NinjaTrader_RyanM; 07-11-2012 at 01:06 PM.
|
|
|
|
|
|
#5 |
|
NinjaTrader Customer Service
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
|
Thanks for sending in your diagnostic files. This happened after the rejection, and then you reset your sim account. Basically, if you run out of sim balance, then you can't rely on any of the reporting unless you start completely over, by resetting trade history.
I suggest providing sufficient value in the initial cash value field under simulator options so that you're less likely to run into this.
Ryan M
NinjaTrader Customer Service |
|
|
|
|
The following user says thank you to NinjaTrader_RyanM for this post: |
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Entry at Incorrect Time | Zeos6 | Strategy Development | 4 | 06-07-2011 04:21 PM |
| Incorrect entry | bbucha_stk | Automated Trading | 3 | 01-27-2011 08:15 AM |
| Incorrect entry shown on one market | jtrade | SuperDOM and other Order Entry Windows | 7 | 08-30-2010 03:12 AM |
| Incorrect entry price displayed in SuperDOM | EuroFX | Miscellaneous Support | 2 | 09-24-2006 01:34 PM |
| Incorrect position entry on SIM | EuroFX | Miscellaneous Support | 12 | 09-24-2006 01:33 PM |