brndnmtthws / thetagang

ThetaGang is an IBKR bot for collecting money
GNU Affero General Public License v3.0
1.96k stars 261 forks source link

Don't increase price spreads #395

Closed brndnmtthws closed 5 months ago

brndnmtthws commented 5 months ago

After waiting to update an order price, sometimes the midpoint goes in the wrong direction after we place the order. We don't want to increase the spread because it almost always makes the order not fill. Instead, leave the price as-is if the change would increase the spread.