My algorithm does work

Hello there:



I have actually seen some algorithms used in the course " Automated Trading With IbridgePy using Interactive Brokers", in order to trade the ticker $PTPI today, but unfortunately i got an error, which seems odd to me since, I have used the same algorthm to trade another ticker, and no problem was reported.



The message shown in the Spyder terminal is the following:


   Initialize trader COMPLETED    ####

The combination of (STK PTPI USD) does not exist in IBridgePy/security_info.csv

Hint 1: Please refer to this YouTube tutorial about security_info.csv https://youtu.be/xyjKQPfyNRo

Hint 2: For Premium users, IBridgePy will search it automatically. Please refer to Premium features Features of Ibridgepy -



Could you help me please?? does it mean that I can not trade some tickers with Ibridgepy??



Thanks



 

Hi Ghery,



PTPI is listed under NASDAQ. Anytime you want to send a request for NASDAQ make sure to specify ISLAND. The "superSymbol()" function can be used to set the exchange. You can find documentation of this function here.

Ok, thank you very much, but I wonder… How do you specify a request for stocks in the OTCs markets…?



Fro example , if I want to trade  tickers like IGEX (Indo Global Exchange(s) ). The link you send me specifies that  string primaryExchange  can be used as a parameter in the "superSymbol()" function to specify the exchange, Do I have to write "otcs" there???

Hi Ghery,



Interactive Brokers only let you trade products listed in exchanges, not OTCs. You can contact the Interactive Brokers sales team to know all the products they let you trade. You can go to this link to get in touch with their sales team.