NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > Automated Trading

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.

Reply
 
Thread Tools Display Modes
Old 03-09-2012, 01:32 PM   #1
mal1954
Junior Member
 
Join Date: Mar 2012
Posts: 12
Thanks: 0
Thanked 0 times in 0 posts
Default connection died and profit disappeared

Hi,

We had trades using a strategy on 3 instruments.

On realized we had negative on 1 instrument and positive on the other 2.


On unrealized we had all positive around a thousand on each.

When we lost the connection it didn't automatically reconnect and it disabled all. We connected manually and apparently lost all data.

We are using live data in simulated trading.

Where are our trades now?

Please see the attached log picture.

thanks,
M
Attached Images
File Type: png llog 09-03-2012 3-29-08 PM.png (91.2 KB, 4 views)
mal1954 is offline  
Reply With Quote
Old 03-09-2012, 02:11 PM   #2
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,499
Thanks: 109
Thanked 291 times in 280 posts
Default

Hello,

Thanks for the note.

When looking at your log the Instrument updates which are your positions are the same before the disconnect and after the disconnect.

It seems the positions are fine when you mean lose data what specifically is gone?

Who is your data feed provider?

-Brett
NinjaTrader_Brett is offline  
Reply With Quote
Old 03-09-2012, 02:51 PM   #3
mal1954
Junior Member
 
Join Date: Mar 2012
Posts: 12
Thanks: 0
Thanked 0 times in 0 posts
Default trades disappeared

HI,
Thanks for the reply.

When we look at the summary for today the unrealized profit is missing. There was showing before the disconnect.

Attached is the after picture of one of the instruments affected.

thanks....
M
Attached Images
File Type: png unrealized profit missing.png (60.8 KB, 4 views)
mal1954 is offline  
Reply With Quote
Old 03-09-2012, 02:56 PM   #4
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,499
Thanks: 109
Thanked 291 times in 280 posts
Default

Hello,

When you say unrealized PnL do you mean the unrealized PnL in the strategies tab?

-Brett
NinjaTrader_Brett is offline  
Reply With Quote
Old 03-11-2012, 06:46 AM   #5
dhd1956
Junior Member
 
Join Date: Feb 2012
Posts: 21
Thanks: 0
Thanked 0 times in 0 posts
Default

Hi. I'm replying on behalf of Mal. The unrealized profit disappeared from the strategies tab and the summary.

When the connection is lost is there a graceful exit?
Is simulation different than live trading?
Note: this was run in simulation on a live data feed.

thanks.......
dhd1956 is offline  
Reply With Quote
Old 03-12-2012, 09:34 AM   #6
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,499
Thanks: 109
Thanked 291 times in 280 posts
Default

Hello,

Thanks for that information.

In this case this is expected as this will only display when the strategy has been active. You have a setting to choose how you want to handle connection loss handling with strategies.

Please see this section of the help guide for more information on this and let me know if you have any questions after reviewing the On Connection Loss section of our help guide below.

http://www.ninjatrader.com/support/h...tegies_tab.htm

-Brett
NinjaTrader_Brett is offline  
Reply With Quote
Reply

Tags
connection, tradeslost

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Live account connection disappeared sandman Connecting 1 05-17-2011 01:02 AM
License disappeared with connection to Mirus. onurbbruno Connecting 1 11-05-2010 09:30 AM
Pats connection under account connections disappeared cableman Connecting 3 08-05-2008 06:57 AM
Data Disappeared MrBaffalo Charting 6 11-13-2007 07:28 AM
Losing connection while in a trade - Stop disappeared Antraman Connecting 3 10-03-2007 07:12 AM


All times are GMT -6. The time now is 07:52 PM.