Contract Description<\/strong> window in the TWS.<\/p>The general format for symbols that AmiBroker uses to access Interactive Brokers’ data is:<\/p>
SYMBOL-EXCHANGE-TYPE-CURRENCY<\/code><\/p>The symbols must be entered in UPPER case. CURRENCY<\/strong> may be skipped if it is USD<\/strong>. TYPE<\/strong> can be skipped if it is STK<\/strong> (stock). EXCHANGE<\/strong> can be skipped if it is SMART<\/strong>.<\/p>To find correct symbol using TWS follow these steps:<\/p>
- Select desired symbol in TWS
- Click on the line with right<\/strong> mouse button and select Contract Info->Description<\/strong> menu
<\/p>
- Now read the values from the Description window and use them to build proper symbol for IB plugin
<\/ol>
As per rules mentioned above, if CURRENCY<\/strong> is USD<\/strong> it may be skipped so we can use either ESZ4-GLOBEX-FUT-USD<\/strong> or ESZ4-GLOBEX-FUT<\/strong>. <\/p>For non-US symbols the procedure is the same, so TESCO PLC would be TSCO-SMART-STK-GBP<\/strong>. In this case we can not skip SMART<\/strong> and STK<\/strong> because we need to specify currency, and it is 4th part of the symbol. If we skipped SMART<\/strong> and STK<\/strong>, IB plugin would think that GBP<\/strong> is second part of dash delimited string and interpret it as exchange, and this is NOT what we want.<\/p>","protected":false},"excerpt":{"rendered":"Sometimes Interactive Brokers symbology may be difficult to figure out. It is however very easy to find out proper symbol using Contract Description window in the TWS.The general format for symbols that AmiBroker uses to access Interactive Brokers’ data is:SYMBOL-EXCHANGE-TYPE-CURRENCYThe symbols must be entered in UPPER case. CURRENCY may be skipped if it is USD. […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[54],"_links":{"self":[{"href":"https:\/\/www.amibroker.com\/wordpress\/kb\/wp-json\/wp\/v2\/posts\/755"}],"collection":[{"href":"https:\/\/www.amibroker.com\/wordpress\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.amibroker.com\/wordpress\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.amibroker.com\/wordpress\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.amibroker.com\/wordpress\/kb\/wp-json\/wp\/v2\/comments?post=755"}],"version-history":[{"count":2,"href":"https:\/\/www.amibroker.com\/wordpress\/kb\/wp-json\/wp\/v2\/posts\/755\/revisions"}],"predecessor-version":[{"id":764,"href":"https:\/\/www.amibroker.com\/wordpress\/kb\/wp-json\/wp\/v2\/posts\/755\/revisions\/764"}],"wp:attachment":[{"href":"https:\/\/www.amibroker.com\/wordpress\/kb\/wp-json\/wp\/v2\/media?parent=755"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.amibroker.com\/wordpress\/kb\/wp-json\/wp\/v2\/categories?post=755"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.amibroker.com\/wordpress\/kb\/wp-json\/wp\/v2\/tags?post=755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}