Version 2.4 2025.09.05
Added margin check for auto batch
Version 2.3 2025.08.29
Update: the partial close function can now reduce all open positions instead of just one.