brndnmtthws / thetagang

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

Floor cash ETF position #450

Closed brndnmtthws closed 3 weeks ago

brndnmtthws commented 3 weeks ago

IBKR doesn't allow fractional quantities with API orders (why? idk), so we need to floor the cash position if we're creating a sell order.