Exchange code

Where can I find a list of exchange codes used by C2 API? I’m trying to resolve C2 exchange code to broker exchange code. Ex: CBT = CBOT

I’m assuming you mean the autotrade api? Can you give me an example of the xml you are looking at where C2 passes an exchange code?

Yes, I’m talking about the autotrading api. Pasted below is an example signal packet that has the exchange tag. I’m trying to translate the symbol received from C2 to the trading symbol used by the Broker. I need the exchange information for the translation to be correct in cases where the same symbol can mean different asset in different exchanges.



<signalpacket>

<systemname>DeltaHedge</systemname>

<systemidnum>27115320</systemidnum>

<signalid>29694057</signalid>

<postedwhen>1197992507</postedwhen>

<postedhumantime>2007-12-18 10:41:47</postedhumantime>

<action>STO</action>

<scaledquant>1</scaledquant>

<originalquant>1</originalquant>

<symbol>SMF8</symbol>

<assettype>future</assettype>

<ordertype>STOP</ordertype>

<stop>3234</stop>

<limit>0</limit>

<tif>DAY</tif>

<underlying>SM</underlying>

<right />

<strike />

<expir>200801</expir>

-----------------------------------------------------------------

<exchange>CBT</exchange>

-------------------------------------------------------------------

<marketcode>30</marketcode>

<ocagroup>29687420</ocagroup>

<conditionalupon />

<conditionaluponpermid />

<commentary />

</signalpacket>