Login Page - Create Account

Support Board


Date/Time: Mon, 17 Jun 2024 03:31:46 +0000



Post From: DTC server stopped receiving Historical data

[2021-04-21 12:28:33]
User76183 - Posts: 68
Hi , have a problem after upgrading to 2247 , my custom DTC server have never received DTC::s_HistoricalPriceDataRequest. No history downloded when charts are opened/reloaded. I'm using single endpoint for both, historical and realtime data. Everithing works fine on 2147 SC version, now I can see on MessageLog window such text: SiM1:FORTS 1 Min #1 | Reloading chart. | 2021-04-20 10:31:09.756
Transaq Connector | Starting real-time market data updates for: SiM1:FORTS. ID: 1 | 2021-04-20 10:31:09.857
Transaq Connector | Requesting security definition data for: SiM1:FORTS. ID: 1 | 2021-04-20 10:31:09.857
No historical data client is currently set to download historical Intraday data for SiM1:FORTS. | 2021-04-20 10:31:09.857
Real-time Intraday chart data file updates started for SiM1:FORTS | 2021-04-20 10:31:09.857
Opened cached Intraday file: C:\SierraChart\Data\SiM1~FORTS.scid. Thread ID: 10868 | 2021-04-20 10:31:09.857
Intraday chart data file opened for SiM1:FORTS | 2021-04-20 10:31:09.857
Transaq Connector | Received security definition for symbol SiM1:FORTS | 2021-04-20 10:31:10.00


LogonResponse structure fills server send to client(SC):

void ConnectorApp::SendSuccessfulLogonResponse ()
{
DTC::s_LogonResponse LogonResponse;
LogonResponse.Result = DTC::LOGON_SUCCESS;
LogonResponse.HistoricalPriceDataSupported = 1;

if(!m_bAllowTrading)
LogonResponse.TradingIsSupported = 0;
else
LogonResponse.TradingIsSupported = 1;

strcpy(LogonResponse.SymbolExchangeDelimiter,":");
LogonResponse.MarketDepthIsSupported = 1;

if(!m_bClientSideOCOHandling)
LogonResponse.BracketOrdersSupported = 1;
else
LogonResponse.BracketOrdersSupported = 0;

LogonResponse.SecurityDefinitionsSupported = 1;
LogonResponse.MarketDepthUpdatesBestBidAndAsk = 1;
CString ServerName("Transaq Connector");
LogonResponse.SetServerName(ServerName.GetBuffer(24));
LogonResponse.OneHistoricalPriceDataRequestPerConnection = 0;

m_Socket.Send((char*)&LogonResponse, LogonResponse.Size);

LogMessage(LOG_MSG_OUT,"Sending Successful Logon Response.");

if (m_MainWindow->m_bSendAllContentOnClientConnected)
{
Sleep(500);
GetServiceApp().m_ServiceClient.SendAllInstrumentsContent();
}
}

What I have to set in Sierra for getting history each time I am creating/opening chart window??
Pls find attached My Data/TradingService settings
imageSC DTC.png / V - Attached On 2021-04-21 12:28:14 UTC - Size: 83.2 KB - 189 views