Custom Order Type with IB API

I have day traded options by hand for some years now and I am getting frustrated with limit and market orders. Limit orders can be too slow if the underlying moves quickly, and the market orders can get me terrible fills on large spread option contracts like AMZN.

I would like to create an order type for trading options that increments my bid or ask by the minimum amount until the order is filled, automatically. Is it possible to do this with the IB Python API? Essentially creating a new order type for their dropdown? I haven't been able to find anything about this in my searching.

My alternative route will be to create a little interface with Javascript including an input for a stock name, an option chain and simple buy/sell buttons so I can click an option and then buy or sell based on my process described above. Positions would still be viewed within IB etc.

Submitted September 27, 2020 at 11:17AM by samedayjeremy
via https://ift.tt/2GdO5NQ

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s