Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 09:43:12 +0000



Post From: How to create a new symbol, take 2

[2023-09-11 12:41:22]
Ed Goppelt - Posts: 41
For some reason, line wrap isn't working today on the SC BBS, hence this workaround so that people can actually read what I wrote.

Periodically I come across symbols which Sierra Chart has never heard of and lacks appropriate settings for.

I am usually able to get by by ticking the "Auto-Set from Data Feed" box to yes in Chart Settings. This at least gets the tick size and price display right. Downsides to this method: no warnings about symbol rollover and the various custom symbol settings I use have to be re-input whenever I do change the symbol (like in rollover).

Conclusion: it would be better to create an entry for SC's database for symbol settings. In this case, I'm guessing CustomSymbolSettings.cqg.xml would be best. Otherwise I am concerned that my hard work will get overwritten the next time I upgrade SC software.

Here is my attempt at producing xml for a new symbol. Can you all please review and let me know if I've made any mistakes?

Thanks for your help.

Sincerely,

Ed G.

<settings>
<supports-market-depth>true</supports-market-depth>
<symbol>F.US.TTF?##</symbol>
<symbol-srvcode>cqg</symbol-srvcode>
<description>Dutch TTF Natural Gas Calendar Month</description>
<use-pattern-matching-characters>true</use-pattern-matching-characters>
<contract-months>FGHJKMNQUVXZ</contract-months>
<value-format-code>3</value-format-code>
<tick-size>0.005</tick-size>
<currency-value-per-tick>3.5425</currency-value-per-tick>
<default-order-quantity>1</default-order-quantity>
<category>Futures - NYMEX</category>
<security-type>futures</security-type>
<real-time-multiplier>1</real-time-multiplier>
<historical-chart-symbol>TTF?##</historical-chart-symbol>
<historical-daily-data-source>SC_EXTERNAL_HISTORICAL_DATA_SERVICE</historical-daily-data-source>
<historical-multiplier>1</historical-multiplier>
<time-zone>EST-05EDT+01,M3.2.0/02:00,M11.1.0/02:00</time-zone>
<intraday-start-time>08:00:00</intraday-start-time>
<intraday-stop-time>11:59:59</intraday-stop-time>
<intra-evening-start-time>12:00:00</intra-evening-start-time>
<intra-evening-stop-time>07:59:59</intra-evening-stop-time>
<use-evening-session-times>true</use-evening-session-times>
<rollover-method>Method1</rollover-method>
<rollover-input-1>9</rollover-input-1>
<sc-data-symbol>TTF?##</sc-data-symbol>
<sc-data-symbol-multiplier>0.005</sc-data-symbol-multiplier>
<sc-data-srvcode>NYMEX</sc-data-srvcode>
<supports-delayed-exchange-data-feed>true</supports-delayed-exchange-data-feed>
<realtime-data-client>SC_Exchange_Data_Service_Sub_Client_4</realtime-data-client>
<dtc-server-disallow-market-data>true</dtc-server-disallow-market-data>
<dtc-server-disallow-realtime-market-data>true</dtc-server-disallow-realtime-market-data>
<historical-intraday-data-source/>
<symbol-query-support>options</symbol-query-support>
<patterns-to-convert-from>NG?##;F.US.NGE?##;NG.######00.CME_NY;QNG?##;NG-######-NYMEX;GNG?##;NG?#-NYMEX;NG?#.NYMEX;NG?##_FUT_NYMEX;NG?#;NG?##-NYMEX;NG?##_FUT_CME</patterns-to-convert-from>
<currency>EUR</currency>
<server-version-record-market-depth-data>true</server-version-record-market-depth-data>
<start-new-daily-bar-at-start-time>true</start-new-daily-bar-at-start-time>
<new-daily-bar-start-time>18:00:30</new-daily-bar-start-time>
<exchange>NYMEX</exchange>
</settings>