Replies: 1 comment 1 reply
-
I like this, I think it's a good proposal. As far as getting orders filled without thetagang, I normally pick the midpoint price, and walk it in from there (depending on how badly I want it to fill). Thetagang tries to emulate the same behaviour. There's a balance between 1) getting the order filled and 2) getting a decent price. If you're too conservative with choosing a limit price, the order won't fill, and if you're too aggressive then you can get a bad price. This usually isn't a big deal for anything with a lot of liquidity, but for anything with poor liquidity it can' have a significant impact. I think for anything with lower liquidity, you are generally better off going with a the midpoint, and also it helps to do combos or spreads to get better execution (i.e., if someone else submits a market order on one of the legs, you're likely to get a fill). IBKR's adaptive algo orders also do an o.k. job of handling order execution, but it's not a silver bullet and I assume those orders frequently route to market makers (i.e., payment for order flow) which are taking a small cut of the spread for themselves. I have thought about making this configurable, but just never got around to it. |
Beta Was this translation helpful? Give feedback.
-
My understanding is that the thetagang program will use midpoint prices to submit orders.
For a contract with a large spread. I normally use the ask price for sell order and bid price for buy order, I would even add a few basic points to count for sudden stock movement.
Based on this, I would like to introduce a new change to the configuration file:
Let me know if you have any questions, and I can implement this feature.
Beta Was this translation helpful? Give feedback.
All reactions