Login Page - Create Account

Support Board


Date/Time: Sun, 05 May 2024 15:23:54 +0000



question for interactive broker

View Count: 1152

[2017-06-14 13:54:11]
User103949 - Posts: 78
Hi,

I am using IB as my broker and using real time data from sierra chart. And currently I am testing my trading algorithm in a paper account. IB will restart their server every night between 11:00 pm and 12:00 pm.

I used to read data from chart by calling sc.Last[sc.Index] and that will work even when the connection with IB is lost. Later I switch to calling data using time and sales function and no longer call sc.Last[sc.Index] from the chart. It seems this will not work when the connection to IB is lost. Please see the following message. I am output each tick when calling time and sales function. After the connection lost, there is no more tick showing.

Chart: GC-201708-NYMEX [M] 1 Trades #1 | Study: MR3 | Start Minute is 59 -- Start second is 59 -- Start millisecond is 0 -- and second price is: 1270.6 | 2017-06-13 23:59:59
Chart: GC-201708-NYMEX [M] 1 Trades #1 | Study: MR3 | Start Minute is 59 -- Start second is 59 -- Start millisecond is 1 -- and second price is: 1270.6 | 2017-06-13 23:59:59
Chart: GC-201708-NYMEX [M] 1 Trades #1 | Study: MR3 | Start Minute is 59 -- Start second is 59 -- Start millisecond is 2 -- and second price is: 1270.6 | 2017-06-13 23:59:59
Chart: GC-201708-NYMEX [M] 1 Trades #1 | Study: MR3 | Start Minute is 59 -- Start second is 59 -- Start millisecond is 3 -- and second price is: 1270.6 | 2017-06-13 23:59:59
Interactive Brokers | Stopping automatic Trade Position updates for account: DU22* | 2017-06-14 00:32:15
Interactive Brokers | Requesting Trade Positions snapshot and updates (IB account data updates) for account: DU22* | 2017-06-14 00:32:15
Interactive Brokers | Requesting historical order fills for account DU22*. | 2017-06-14 00:32:15
Message from IB: API client has been unsubscribed from account data. IB Error Code: 2100. Request ID: -1. | 2017-06-14 00:32:15
Interactive Brokers | Received Trade Positions download end message for account DU22* | 2017-06-14 00:32:15
Interactive Brokers | Stopping automatic Trade Position updates for account: DU22* | 2017-06-14 04:32:15
Interactive Brokers | Requesting Trade Positions snapshot and updates (IB account data updates) for account: DU22* | 2017-06-14 04:32:15
[2017-06-14 18:42:45]
Sierra Chart Engineering - Posts: 104368
The Sierra Chart Exchange Data Feed will still continue to update the chart and Time and Sales data even when there is a disconnect from Trader Workstation.

This is the case, when this option is enabled:
http://www.sierrachart.com/index.php?page=doc/DataSourceSettings.php#ReconnectOnFailure

At this point just disregard what you are doing with your custom study when disconnected from Trader Workstation. The chart bars should continue to update. Do they?
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2017-06-14 18:43:16

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account