开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

API/CTCI orders for canadian stocks are not allowed error message


 

Hello

We are trying to use the IB Python API to place an order in a paper trade account.

We can get historic market data OK in our program, so there is some connectivity to IB working.

But we get an error saying "API/CTCI orders for canadian stocks are not allowed" does this mean that the IB API can not be used to place orders on the TSX ? Hopefully we have just done something dumb but I googled a bit and am now worried its not achievable.

Does anyone have any wisdom on this please ? Or does anyone know of an alternative API/broker we could use instead of IB if they don't support this anymore.

Thanks for any help people can give us.

Dave


 

I called up the IBKR support staff and they state that IB will no longer allow us to trade Canadian stocks/futures using the API.


 

Can you be more precise about what you think that will no longer be possible?

I usually do not work with instruments in Canada, but a few quick market BUY orders for ADN@TSE and ABRA@VENTRURE in a paper account worked just fine both SMART and direct routed. They properly show up as CAD positions in TWS.

If I am not mistaken, TSE and VENTURE are the two TSX exchanges. The two symbols were randomly picked from the top of the TSX listings.

闯ü谤驳别苍

?

?

On Thu, Sep 19, 2024 at 01:23 PM, nkulki wrote:

I called up the IBKR support staff and they state that IB will no longer allow us to trade Canadian stocks/futures using the API.


 

I called up their tech support and I was told that there has been a change made and one cannot trade Canadian securities using the IB API. Your paper trading likely works but I don’t think it will work on a real account?


 

Since you were able to trade the Canadian stocks using the API I called up the tech support one more time. He assured me that no Canadian product will be allowed to be traded through the API. He also told me that if you are currently able to trade then you won’t won’t eventually be able to trade. He also confirmed that this rule is applied to all Canadian products not just stocks . You can trade by hand but not using their API.