when my NinjaTrader is flat, i have a net position of -1 in the ZB-Contract and when NT is Long(1), I'am flat. How can I tell NT, that this Long Position in fact does not exist? Restarting did not help.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
NT not in sync Broker
Collapse
X
-
GerTrader, is this via manual or automatic trading? For NinjaScript strategies proper synching between the strategy and account position is vitally important - http://www.ninjatrader-support.com/H...tPosition.htmlBertrandNinjaTrader Customer Service
-
Then just add a manual execution to the NinjaTrader database taking you net flat to sync - http://www.ninjatrader-support.com/H...utionsTab.htmlBertrandNinjaTrader Customer Service
Comment
-
I manually added a Sell Execution, restarted NinjaTrader but the open Position (Long) still remains there in NT. The real net position is still flat. However, i also tried it in Simulation Mode before on another computer and it did work.
I am using TT as broker interface, is there a difference, which applies?
Comment
-
GerTrader, is this from an overnight position? This is unfortunately not supported for NinjaTrader 6.5 and the TT connection, for NinjaTrader 7 some TT broker architectures will support this then - http://www.ninjatrader.com/webnew/NT7/NinjaTrader7.html
If the manually added exectution did not help, please reset the DB under Tools > Options > MiscBertrandNinjaTrader Customer Service
Comment
-
I tried it twice, but the position still remains there.
I disconnected; reseted DB; restarted NT; connected to TT and the position was there. All historical data is gone but one buy execution and one open position remained. I manually deleted this execution, restarted NT, connected to TT and the execution was back there.
It seems that the Execution is re-created when NT connects to TT, according to the timestamp of the execution.
And yes, it may be due to a unintended overnight position...
Comment
-
I see GerTrader, thanks - I would suggest trying then a complete fresh database file by
- Exiting NinjaTrader
- Then go to MyDocuments\NinjaTrader 6.5\db and rename the NinjaTrader.mdb into for example NinjaTrader.Old.mdb
- Restart NinjaTrader after this step and it will create a new database file
- Then connect to your TT feed and you should be flat.
- If not, please call your broker and have them look into the account status
BertrandNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by wzgy0920, 04-20-2024, 06:09 PM
|
2 responses
26 views
0 likes
|
Last Post
by wzgy0920
Today, 10:43 PM
|
||
Started by wzgy0920, 02-22-2024, 01:11 AM
|
5 responses
32 views
0 likes
|
Last Post
by wzgy0920
Today, 10:33 PM
|
||
Started by wzgy0920, Yesterday, 09:53 PM
|
2 responses
49 views
0 likes
|
Last Post
by wzgy0920
Today, 10:29 PM
|
||
Started by Kensonprib, 04-28-2021, 10:11 AM
|
5 responses
192 views
0 likes
|
Last Post
by Hasadafa
Today, 10:19 PM
|
||
Started by GussJ, 03-04-2020, 03:11 PM
|
11 responses
3,234 views
0 likes
|
Last Post Today, 08:07 PM |
Comment