Support Board
Date/Time: Sat, 10 May 2025 22:04:40 +0000
Post From: Global Symbol Settings - Bulk Import
[2016-02-16 13:14:57] |
User553714 - Posts: 184 |
I finally found the time to get around to writing a simple programme to produce XML for my list of Symbols, an example is given below; <settings> <service-code>ib</service-code> <symbol>AAD-CFD-SMART-AUD</symbol> <symbol-srvcode>IB</symbol-srvcode> <use-pattern-matching-characters>true</use-pattern-matching-characters> <description>ARDENT LEISURE GROUP</description> <category>IB ASX CFD</category> <security-type>CFD</security-type> <value-format-code>2</value-format-code> <tick-size>0.01</tick-size> <currency-value-per-tick>0.01</currency-value-per-tick> <error-filtering>true</error-filtering> <time-zone>AEST+10AEDT+01,M10.1.0/02:00,M4.1.0/03:00</time-zone> <intraday-start-time>10:00:00</intraday-start-time> <intraday-stop-time>16:15:59</intraday-stop-time> <default-order-quantity>1</default-order-quantity> <service-symbol-id>IB</service-symbol-id> <currency>AUD</currency> <trade-and-current-quote-symbol>AAD-CFD-SMART-AUD</trade-and-current-quote-symbol> </settings> This seems to import fine into the GlobalSymbolSettings XML file and the lists of stocks/CFD's appear in the "Find Symbol" function of SC. 1) Can you have a quick look at what I have produced to make sure it looks ok? 2) I wasn't sure if I needed to include the <trade-and-current-quote-symbol> field especially as it's the same as <symbol>. It has caused the symbol to appear twice on my chart headers (top of the dialogue box); I.E. "SC AAD-CFD-SMART-AUD/AAD-CFD-SMART-AUD #1 ARDENT LEISURE GROUP" If <trade-and-current-quote-symbol> is not required when it's the same as <symbol> can I just leave it out? The same probably goes for some other fields? Regards |