brndnmtthws / thetagang

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

Allow specifying a minimum order price #339

Closed brndnmtthws closed 7 months ago

brndnmtthws commented 7 months ago

To avoid orders where the commission exceeds the order credit, we can set a minimum order price, which we default to $0.05. This lets us avoid 1 or 2 penny orders where the commission is more than the credit received from the order itself.

Also did some refactorings and fixed typings.