Support Board
Date/Time: Thu, 23 Jan 2025 00:06:25 +0000
Post From: DTC SC Client - How to verify existence of symbol?
[2018-10-24 18:33:57] |
AndrewAMD1 - Posts: 31 |
Hello, My trading client to Sierra Chart's DTC server needs a way to confirm or deny the existence of a trading symbol. Is there a correct procedure for this? Here is what I have attempted: 1) Send a Symbol Search Request - it is not currently supported according to response. So that's a dead end. 2) Send a Security Definition for Symbol Request, with symbol set to "BADSYMBOL". * Expected response is either a reject or a security definition with the symbol field blank. * Actual response is a security definition with the field filled with "BADSYMBOL". Depending on the bad symbol, some of the fields might actually have some values! 3) Request a market data snapshot, with symbol set to "BADSYMBOL". * Expected response is a reject. * Actual response is a snapshot with all fields blank except for the matching SymbolID. Thanks, Andrew |