Login Page - Create Account

Support Board


Date/Time: Tue, 25 Feb 2025 00:15:42 +0000



Bitmex Intraday data not loading more than 2 weeks on CQG WebAPI

View Count: 829

[2021-03-24 22:32:50]
User111634 - Posts: 9
When using the CQG WebAPI service, I would still like to be able to view cryptocurrency charts.

But intraday Bitmex charts only load the last 2 weeks' worth of intraday data. Historical data (Daily/weekly/etc) loads just fine.

Also, is there a reason why only Bitmex data is offered when using the CQG WebAPI service whereas when using SC Data - All Services, more cryptocurrency data options like deribit, bitfinex, etc. are available?
[2021-03-27 07:41:50]
Sierra_Chart Engineering - Posts: 18554
To access more historical data, refer to:
Historical Intraday Data (Missing Data / Download Errors / Viewing More Data): Downloading/Viewing More Historical Intraday Data

To access all of the crypto currency data, install a separate installation of Sierra Chart following the instructions here:
Using Multiple Data and Trading Services at the Same Time
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2021-03-29 06:07:24]
User111634 - Posts: 9

this does not work when trying to load XBT-PERP data from Bitmex when selecting CQG WebAPI service. i can confirm that it downloads the data but it does not display the correct # of days to load for intraday data.

something's clearly not right; you can see the msg log for yourself:

Triggering next historical data download in queue. | 2021-03-29 01:58:12.848
No download requests in the queue to start downloads for. | 2021-03-29 01:58:12.849
Socket (1) | Socket gracefully closed by remote side. | 2021-03-29 01:58:12.926
Socket (1) | Closed. | 2021-03-29 01:58:12.926
SC DTC Data with Market Depth | Heartbeat from server | ServerReceivedClientHeartbeatSecondsAgo=9, NumberOfOutstandingSendBuffers=1, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=42, ActualMessageDelay=-1.0 seconds, DataCompRatio=1.96, UncompressedBytes=146565, CompressionTime=0.002731(secs), NumCompressions=798 | 2021-03-29 01:58:15.996
Socket (6) | Close event error. Windows error code 10053: An established connection was aborted by the software in your host machine. | 2021-03-29 01:58:23.681
Socket (6) | Socket gracefully closed by remote side. | 2021-03-29 01:58:23.681
Socket (6) | Closed. | 2021-03-29 01:58:23.681
Added historical Intraday data request for XBTUSD-BMEX to the queue. | 2021-03-29 01:58:28.123
Intraday data recording state for symbol XBTUSD-BMEX is set to download 'Pending'. | 2021-03-29 01:58:28.123
Triggering next historical data download in queue. | 2021-03-29 01:58:28.123
HD Request # 112 | Downloading Intraday chart data for XBTUSD-BMEX to the file XBTUSD-BMEX.scid. Service: bitmex | 2021-03-29 01:58:28.126
Reloading all charts with filename: XBTUSD-BMEX.scid | 2021-03-29 01:58:28.143
HD Request # 112 | Download start date-time: 2011-04-01 01:58:28.000000. File last date-time: 00:00:00.000000 | 2021-03-29 01:58:28.145
HD Request # 112 | Using server: ds4.sierracharts.com port 10149 | 2021-03-29 01:58:28.145
Socket (1) | Creating socket. | 2021-03-29 01:58:28.145
Socket (1) | New receive buffer size: 5242880 | 2021-03-29 01:58:28.145
Socket (1) | Connecting to IP: 192.81.56.146. | 2021-03-29 01:58:28.145
XBTUSD-BMEX [CV-D][M] 720 Min #2 | Reloading chart. | 2021-03-29 01:58:28.165
XBTUSD-BMEX [CV-D][M] 720 Min #2 | No contract months found for symbol. Unable to build continuous futures contract chart. | 2021-03-29 01:58:28.165
XBTUSD-BMEX [CV-D][M] 720 Min #2 | There are no continuous futures contract symbols. Loading data normally. | 2021-03-29 01:58:28.165
XBTUSD-BMEX [CV-D][M] 720 Min #2 | Currently no data in file to display. Will start historical data download and real-time updates. File: C:\SierraChart\Data\XBTUSD-BMEX.scid | 2021-03-29 01:58:28.173
SC DTC Data with Market Depth | Heartbeat from server | ServerReceivedClientHeartbeatSecondsAgo=9, NumberOfOutstandingSendBuffers=2, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=830, ActualMessageDelay=-1.0 seconds, DataCompRatio=2.01, UncompressedBytes=186589, CompressionTime=0.003170(secs), NumCompressions=922 | 2021-03-29 01:58:35.980
HD Request # 112 | Sending historical data logon request message. | 2021-03-29 01:58:38.226
SC DTC Data with Market Depth | Heartbeat from server | ServerReceivedClientHeartbeatSecondsAgo=9, NumberOfOutstandingSendBuffers=1, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=57, ActualMessageDelay=-1.0 seconds, DataCompRatio=2.04, UncompressedBytes=224508, CompressionTime=0.003601(secs), NumCompressions=1035 | 2021-03-29 01:58:56.000
SC DTC Data with Market Depth | Heartbeat from server | ServerReceivedClientHeartbeatSecondsAgo=9, NumberOfOutstandingSendBuffers=1, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=362, ActualMessageDelay=-1.1 seconds, DataCompRatio=2.03, UncompressedBytes=246362, CompressionTime=0.003967(secs), NumCompressions=1142 | 2021-03-29 01:59:15.910
SC DTC Data with Market Depth | Heartbeat from server | ServerReceivedClientHeartbeatSecondsAgo=9, NumberOfOutstandingSendBuffers=0, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=0, ActualMessageDelay=-1.0 seconds, DataCompRatio=2.04, UncompressedBytes=272084, CompressionTime=0.004313(secs), NumCompressions=1242 | 2021-03-29 01:59:35.983
SC DTC Data with Market Depth | Heartbeat from server | ServerReceivedClientHeartbeatSecondsAgo=9, NumberOfOutstandingSendBuffers=0, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=91, ActualMessageDelay=-1.1 seconds, DataCompRatio=2.04, UncompressedBytes=298002, CompressionTime=0.004679(secs), NumCompressions=1346 | 2021-03-29 01:59:55.896
HD Request # 112 | Error downloading historical Intraday data for XBTUSD-BMEX. The download timed out. | 2021-03-29 01:59:59.591
Added historical Intraday data request for XBTUSD-BMEX to the queue. | 2021-03-29 01:59:59.591
Triggering next historical data download in queue. | 2021-03-29 01:59:59.591
Historical data download thread signaled to stop. | 2021-03-29 01:59:59.591
Socket (1) | CloseSocket call. | 2021-03-29 01:59:59.591
HD Request # 112 | Received 0 records from 00:00:00.000000 to 00:00:00.000000 (0.0 seconds) and wrote 0 records for XBTUSD-BMEX | 2021-03-29 01:59:59.591
Socket (1) | Shutdown started. Waiting for graceful close. | 2021-03-29 01:59:59.592
HD Request # 112 | Completion time: 1m 31s | 2021-03-29 01:59:59.592

HD Request # 113 | Downloading Intraday chart data for XBTUSD-BMEX to the file XBTUSD-BMEX.scid. Service: bitmex | 2021-03-29 01:59:59.592
Reloading all charts with filename: XBTUSD-BMEX.scid | 2021-03-29 01:59:59.592
HD Request # 113 | Download start date-time: 2011-04-01 01:59:59.000000. File last date-time: 00:00:00.000000 | 2021-03-29 01:59:59.593
HD Request # 113 | Using server: ds12.sierracharts.com port 10150 | 2021-03-29 01:59:59.593
Socket (6) | Creating socket. | 2021-03-29 01:59:59.593
Socket (6) | New receive buffer size: 5242880 | 2021-03-29 01:59:59.594
Socket (6) | Connecting to IP: 204.15.197.14. | 2021-03-29 01:59:59.594
XBTUSD-BMEX [CV-D][M] 720 Min #2 | Reloading chart. | 2021-03-29 01:59:59.607
XBTUSD-BMEX [CV-D][M] 720 Min #2 | No contract months found for symbol. Unable to build continuous futures contract chart. | 2021-03-29 01:59:59.607
XBTUSD-BMEX [CV-D][M] 720 Min #2 | There are no continuous futures contract symbols. Loading data normally. | 2021-03-29 01:59:59.607
XBTUSD-BMEX [CV-D][M] 720 Min #2 | Currently no data in file to display. Will start historical data download and real-time updates. File: C:\SierraChart\Data\XBTUSD-BMEX.scid | 2021-03-29 01:59:59.615
HD Request # 113 | Setting DTC encoding to Binary VLS | 2021-03-29 01:59:59.797
HD Request # 113 | Sending historical data logon request message. | 2021-03-29 01:59:59.797
HD Request # 113 | Requesting Intraday data. Start date-time: 2011-04-01 01:59:59. Record interval: 60. Symbol: XBTUSD-BMEX | 2021-03-29 02:00:00.362
HD Request # 113 | Decompressing data. | 2021-03-29 02:00:00.443
HD Request # 113 | Receiving Intraday data for XBTUSD-BMEX starting at 2017-03-21 01:34:39.000000 | 2021-03-29 02:00:00.950
HD Request # 113 | Timestamp of first Intraday data file record written: 2017-03-21 01:34:39.000000 | 2021-03-29 02:00:01.657
XBTUSD-BMEX [CV-D][M] 720 Min #2 | StartDateTimeForLoadingOrderFills: 2017-03-20 20:00:00 | 2021-03-29 02:00:01.679
Socket (5) | Close event error. Windows error code 10053: An established connection was aborted by the software in your host machine. | 2021-03-29 02:00:11.697
Socket (5) | Socket gracefully closed by remote side. | 2021-03-29 02:00:11.697
Socket (5) | Closed. | 2021-03-29 02:00:11.698
SC DTC Data with Market Depth | Heartbeat from server | ServerReceivedClientHeartbeatSecondsAgo=9, NumberOfOutstandingSendBuffers=1, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=79, ActualMessageDelay=-1.0 seconds, DataCompRatio=2.03, UncompressedBytes=326548, CompressionTime=0.005102(secs), NumCompressions=1466 | 2021-03-29 02:00:15.990
SC DTC Data with Market Depth | Heartbeat from server | ServerReceivedClientHeartbeatSecondsAgo=8, NumberOfOutstandingSendBuffers=1, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=165, ActualMessageDelay=-1.0 seconds, DataCompRatio=2.03, UncompressedBytes=354567, CompressionTime=0.005481(secs), NumCompressions=1575 | 2021-03-29 02:00:35.982
SC DTC Data with Market Depth | Heartbeat from server | ServerReceivedClientHeartbeatSecondsAgo=8, NumberOfOutstandingSendBuffers=0, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=0, ActualMessageDelay=-1.0 seconds, DataCompRatio=2.03, UncompressedBytes=383118, CompressionTime=0.005890(secs), NumCompressions=1692 | 2021-03-29 02:00:55.980
SC DTC Data with Market Depth | Heartbeat from server | ServerReceivedClientHeartbeatSecondsAgo=8, NumberOfOutstandingSendBuffers=0, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=32, ActualMessageDelay=-1.0 seconds, DataCompRatio=2.02, UncompressedBytes=398545, CompressionTime=0.006231(secs), NumCompressions=1793 | 2021-03-29 02:01:15.982
SC DTC Data with Market Depth | Heartbeat from server | ServerReceivedClientHeartbeatSecondsAgo=8, NumberOfOutstandingSendBuffers=0, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=0, ActualMessageDelay=-1.0 seconds, DataCompRatio=2.03, UncompressedBytes=436780, CompressionTime=0.006681(secs), NumCompressions=1909 | 2021-03-29 02:01:35.979
HD Request # 113 | Out of order historical Intraday data. Timestamp before out of order data: 2019-12-09 11:11:00. First Timestamp of record being filtered out: 2019-12-09 11:04:06. | 2021-03-29 02:01:43.560
SC DTC Data with Market Depth | Heartbeat from server | ServerReceivedClientHeartbeatSecondsAgo=8, NumberOfOutstandingSendBuffers=1, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=117, ActualMessageDelay=-1.0 seconds, DataCompRatio=2.03, UncompressedBytes=462352, CompressionTime=0.007044(secs), NumCompressions=2014 | 2021-03-29 02:01:55.991
Socket (1) | Close event error. Windows error code 10053: An established connection was aborted by the software in your host machine. | 2021-03-29 02:01:59.678
Socket (1) | Socket gracefully closed by remote side. | 2021-03-29 02:01:59.678
Socket (1) | Closed. | 2021-03-29 02:01:59.678
SC DTC Data with Market Depth | Heartbeat from server | ServerReceivedClientHeartbeatSecondsAgo=8, NumberOfOutstandingSendBuffers=1, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=42, ActualMessageDelay=-1.0 seconds, DataCompRatio=2.03, UncompressedBytes=482239, CompressionTime=0.007320(secs), NumCompressions=2095 | 2021-03-29 02:02:16.007
SC DTC Data with Market Depth | Heartbeat from server | ServerReceivedClientHeartbeatSecondsAgo=8, NumberOfOutstandingSendBuffers=1, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=74, ActualMessageDelay=-1.0 seconds, DataCompRatio=2.03, UncompressedBytes=507600, CompressionTime=0.007669(secs), NumCompressions=2199 | 2021-03-29 02:02:35.955
HD Request # 113 | Out of order historical Intraday data. Timestamp before out of order data: 2021-03-04 14:11:00. First Timestamp of record being filtered out: 2021-03-04 14:09:32. | 2021-03-29 02:02:40.049
Socket (6) | CloseSocket call. | 2021-03-29 02:02:41.783
Socket (6) | Shutdown started. Waiting for graceful close. | 2021-03-29 02:02:41.783
Historical data download thread signaled to stop. | 2021-03-29 02:02:41.783
HD Request # 113 | Received 2092436 records from 2017-03-21 01:34:39.000000 to 2021-03-29 02:02:00.501000 (4.0years) and wrote 2092424 records for XBTUSD-BMEX | 2021-03-29 02:02:41.784
HD Request # 113 | Completion time: 2m 42s | 2021-03-29 02:02:41.787
HD Request # 113 | Intraday data download complete for XBTUSD-BMEX. Unique request ID: 110 | 2021-03-29 02:02:41.787
Removing historical data download ID 110. | 2021-03-29 02:02:41.787
Real-time Intraday chart data file updates started for XBTUSD-BMEX | 2021-03-29 02:02:41.787
Opened cached Intraday file: C:\SierraChart\Data\XBTUSD-BMEX.scid. Thread ID: 25540 | 2021-03-29 02:02:41.788
Intraday chart data file opened for XBTUSD-BMEX | 2021-03-29 02:02:41.788
HD Request # 113 | Enabling Intraday chart updating for symbol. | 2021-03-29 02:02:41.788

Triggering next historical data download in queue. | 2021-03-29 02:02:41.788
No download requests in the queue to start downloads for. | 2021-03-29 02:02:41.788
Socket (6) | Socket gracefully closed by remote side. | 2021-03-29 02:02:41.883
Socket (6) | Closed. | 2021-03-29 02:02:41.883
SC DTC Data with Market Depth | Heartbeat from server | ServerReceivedClientHeartbeatSecondsAgo=8, NumberOfOutstandingSendBuffers=1, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=42, ActualMessageDelay=-1.0 seconds, DataCompRatio=2.03, UncompressedBytes=530071, CompressionTime=0.008017(secs), NumCompressions=2299 | 2021-03-29 02:02:55.986
SC DTC Data with Market Depth | Heartbeat from server | ServerReceivedClientHeartbeatSecondsAgo=8, NumberOfOutstandingSendBuffers=0, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=64, ActualMessageDelay=-1.0 seconds, DataCompRatio=2.02, UncompressedBytes=557211, CompressionTime=0.008429(secs), NumCompressions=2419 | 2021-03-29 02:03:15.936
XBTUSD-BMEX [CV-D][M] 60 Min #2 | Reloading chart. | 2021-03-29 02:03:28.423
XBTUSD-BMEX [CV-D][M] 60 Min #2 | No contract months found for symbol. Unable to build continuous futures contract chart. | 2021-03-29 02:03:28.423
XBTUSD-BMEX [CV-D][M] 60 Min #2 | There are no continuous futures contract symbols. Loading data normally. | 2021-03-29 02:03:28.423
ETHUSD-BMEX [CV-D][M] 60 Min #1 | Reloading chart. | 2021-03-29 02:03:28.453
ETHUSD-BMEX [CV-D][M] 60 Min #1 | No contract months found for symbol. Unable to build continuous futures contract chart. | 2021-03-29 02:03:28.454
ETHUSD-BMEX [CV-D][M] 60 Min #1 | There are no continuous futures contract symbols. Loading data normally. | 2021-03-29 02:03:28.454
XBTUSD-BMEX [CV-D][M] 60 Min #2 | StartDateTimeForLoadingOrderFills: 2021-03-14 18:00:00 | 2021-03-29 02:03:28.461
ETHUSD-BMEX [CV-D][M] 60 Min #1 | StartDateTimeForLoadingOrderFills: 2021-03-11 18:00:00 | 2021-03-29 02:03:28.519
SC DTC Data with Market Depth | Heartbeat from server | ServerReceivedClientHeartbeatSecondsAgo=8, NumberOfOutstandingSendBuffers=1, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=109, ActualMessageDelay=-1.0 seconds, DataCompRatio=2.02, UncompressedBytes=577856, CompressionTime=0.008794(secs), NumCompressions=2526 | 2021-03-29 02:03:35.993
SC DTC Data with Market Depth | Heartbeat from server | ServerReceivedClientHeartbeatSecondsAgo=8, NumberOfOutstandingSendBuffers=1, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=58, ActualMessageDelay=-1.0 seconds, DataCompRatio=2.04, UncompressedBytes=635824, CompressionTime=0.009290(secs), NumCompressions=2657 | 2021-03-29 02:03:55.986
SC DTC Data with Market Depth | Heartbeat from server | ServerReceivedClientHeartbeatSecondsAgo=7, NumberOfOutstandingSendBuffers=0, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=0, ActualMessageDelay=-1.0 seconds, DataCompRatio=2.04, UncompressedBytes=658148, CompressionTime=0.009664(secs), NumCompressions=2765 | 2021-03-29 02:04:15.980
SC DTC Data with Market Depth | Heartbeat from server | ServerReceivedClientHeartbeatSecondsAgo=7, NumberOfOutstandingSendBuffers=0, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=0, ActualMessageDelay=-1.0 seconds, DataCompRatio=2.06, UncompressedBytes=719442, CompressionTime=0.010186(secs), NumCompressions=2888 | 2021-03-29 02:04:35.986
SC DTC Data with Market Depth | Heartbeat from server | ServerReceivedClientHeartbeatSecondsAgo=7, NumberOfOutstandingSendBuffers=1, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=110, ActualMessageDelay=-1.0 seconds, DataCompRatio=2.06, UncompressedBytes=748639, CompressionTime=0.010572(secs), NumCompressions=2993 | 2021-03-29 02:04:55.925
SC DTC Data with Market Depth | Heartbeat from server | ServerReceivedClientHeartbeatSecondsAgo=7, NumberOfOutstandingSendBuffers=1, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=58, ActualMessageDelay=-1.0 seconds, DataCompRatio=2.07, UncompressedBytes=787953, CompressionTime=0.011011(secs), NumCompressions=3116 | 2021-03-29 02:05:15.985
SC DTC Data with Market Depth | Heartbeat from server | ServerReceivedClientHeartbeatSecondsAgo=7, NumberOfOutstandingSendBuffers=1, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=74, ActualMessageDelay=-1.0 seconds, DataCompRatio=2.07, UncompressedBytes=809381, CompressionTime=0.011351(secs), NumCompressions=3215 | 2021-03-29 02:05:35.981
SC DTC Data with Market Depth | Heartbeat from server | ServerReceivedClientHeartbeatSecondsAgo=7, NumberOfOutstandingSendBuffers=1, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=42, ActualMessageDelay=-1.0 seconds, DataCompRatio=2.07, UncompressedBytes=825022, CompressionTime=0.011676(secs), NumCompressions=3310 | 2021-03-29 02:05:55.978
SC DTC Data with Market Depth | Heartbeat from server | ServerReceivedClientHeartbeatSecondsAgo=7, NumberOfOutstandingSendBuffers=1, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=74, ActualMessageDelay=-1.0 seconds, DataCompRatio=2.06, UncompressedBytes=837939, CompressionTime=0.011960(secs), NumCompressions=3393 | 2021-03-29 02:06:15.986
SC DTC Data with Market Depth | Heartbeat from server | ServerReceivedClientHeartbeatSecondsAgo=6, NumberOfOutstandingSendBuffers=1, TransmissionDelayInMilliseconds=80, ServerSendBufferSizeInBytes=678, ActualMessageDelay=-1.1 seconds, DataCompRatio=2.06, UncompressedBytes=856980, CompressionTime=0.012266(secs), NumCompressions=3478 | 2021-03-29 02:06:35.896
[2021-03-29 22:30:49]
Sierra Chart Engineering - Posts: 104368
HD Request # 113 | Received 2092436 records from 2017-03-21 01:34:39.000000 to 2021-03-29 02:02:00.501000 (4.0years) and wrote 2092424 records for XBTUSD-BMEX | 2021-03-29 02:02:41.784
The data is certainly being downloaded as you can see.

So you need to check the Chart Settings as explained here:
Historical Intraday Data (Missing Data / Download Errors / Viewing More Data): Downloading/Viewing More Historical Intraday Data

Also set this setting to None:
Chart Settings: Continuous Contract (Chart >> Chart Settings >> Symbol >> Symbol menu)
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

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

Login

Login Page - Create Account