areed1192 / interactive-broker-python-api

A python packaged used to interact with the Interactive Brokers REST API.
MIT License
374 stars 122 forks source link

Can anyone provide me with a sample order for Options? #31

Open JohnLiz opened 2 years ago

JohnLiz commented 2 years ago

I looked through the sample orders in the order/market_order location and its limited to a few samples. I was wondering if anyone can provide me with a sample for options buy/sell. I tried build one out but for some reason its defaulting to STK purchase vs a OPT purchase.

Thanks

syntaxsdev commented 2 years ago

Hey. Have you been able to get IBKR to authenticate through a regular account and create a session properly?