Login Page - Create Account

Support Board


Date/Time: Wed, 08 May 2024 04:43:43 +0000



Post From: DTC: SECURITY_DEFINITION_RESPONSE and IsFinalMessage after Logon

[2018-07-15 16:41:13]
Usermb - Posts: 126
After a successful logon against a built-in SC DTC Server that sends updated symbol definitions, a list of SECURITY_DEFINITION_RESPONSE messages is received.

Unfortunately each of these messages has IsFinalMessage set to 1.
To me this seems like an error, all these messages have the same RequestID = 110000000.

It would be great to add some sort of a flag to LOGON_RESPONSE to explicitly advice the client, that SECURITY_DEFINITION_RESPONSE messages follow. Right now, the logon response looks like this:

ProtocolVersion: 8
Result: LOGON_SUCCESS
ResultText: "Connected to SC DTC Protocol server. Service=scdataallservices"
ServerName: "SC DTC Server"
SecurityDefinitionsSupported: 1
MarketDepthIsSupported: 1
MarketDataSupported: 1

And here's a part of the security definition response messages:

RequestID: 110000000
Symbol: "DYM18"
MinPriceIncrement: 0.5
PriceDisplayFormat: PRICE_DISPLAY_FORMAT_DECIMAL_1
CurrencyValuePerIncrement: 12.5
IsFinalMessage: 1
FloatToIntPriceMultiplier: 1.0
IntToFloatPriceDivisor: 1.0
UnderlyingSymbol: "DY"
SecurityExpirationDate: 1529020800
HasMarketDepthData: 1
DisplayPriceMultiplier: 1.0
ExchangeSymbol: "DYM18"


RequestID: 110000000
Symbol: "J6U18"
Description: "JAPANESE YEN FUTURES 6J Sep 2018"
MinPriceIncrement: 4.999999873689376e-05
PriceDisplayFormat: PRICE_DISPLAY_FORMAT_DECIMAL_5
CurrencyValuePerIncrement: 6.25
IsFinalMessage: 1
FloatToIntPriceMultiplier: 1.0
IntToFloatPriceDivisor: 1.0
SecurityExpirationDate: 1536883200
HasMarketDepthData: 1
DisplayPriceMultiplier: 1.0
ExchangeSymbol: "6JU18"


RequestID: 110000000
Symbol: "E6U18"
Description: "EURO FUTURE 6E Sep 2018"
MinPriceIncrement: 4.999999873689376e-05
PriceDisplayFormat: PRICE_DISPLAY_FORMAT_DECIMAL_5
CurrencyValuePerIncrement: 6.25
IsFinalMessage: 1
FloatToIntPriceMultiplier: 1.0
IntToFloatPriceDivisor: 1.0
SecurityExpirationDate: 1536883200
HasMarketDepthData: 1
DisplayPriceMultiplier: 1.0
ExchangeSymbol: "6EU18"