![]() |
|
|||||||
| Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Jun 2008
Posts: 1
Thanks: 0
Thanked 0 times in 0 posts
|
My positions as seen in the Positions tab of NT (6.5.1000.2) have started not matching my positions in IB's desktop TWS (884.8). This seems to occur intermittently after a position close order has been executed (I use limit orders). I track positions in my code and the fills are being received by NT in my code (using TradeStation) , but for some reason NT is not registering that the position has been closed out. Sometimes hours later NT will see that the position has been closed.
This problem started when I switched my accounts to a new FA master account. Prior to that with the old master account it worked fine. The new FA master account and sub-accounts do not subscribed to market data. I am seeing errors in NT's log ("Requested market data data is not subscribed. 354" even though I am placing limit orders and not requesting market data as far as I know). Could that be the problem or do you have any other suggestions of where to look? Thank you. |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
Hmm ... let's see what we have:
- please make sure you are on latest 6.5.1000.3 - please make sure you are on TWS 884: http://www.ninjatrader.com/webnew/su...ivebrokers.htm - message "Requested market data data is not subscribed. 354" should not be related - if after upgrading you still experience this issue then: * please send logs and traces by help->Mail to support, subject "for Dierk" and reference this thread * pls provide me timestamp on when you had an execution which did NOT trigger a position update
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
Also: On FA accounts it could take a while until positions are updated. That's the nature of the IB API. But definitely not hours...
Dierk
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| the positions in NT and IB TWS do not match | clearpicks | Automated Trading | 8 | 05-28-2008 08:04 AM |
| use Positions[0].MarketPosition | Folls | Strategy Development | 2 | 10-17-2007 06:19 AM |
| Reversing positions | jonesr227 | Automated Trading | 1 | 09-12-2007 10:40 AM |
| Positions not showing | dwil | Connecting | 6 | 06-27-2007 03:16 PM |
| Performance report not matching broker report | brianj | Miscellaneous Support | 2 | 05-09-2005 01:09 AM |