rp2
rp2 copied to clipboard
Add more output to acquired lots exhausted exception.
The current output of AcquiredLotsExhaustedException is not helpful enough to the user. If they missed a transaction, had a typo in a transaction, or rounding errors are accumulating from the data provided by the exchange, the user will need to manually process their transaction history to find when the exception occurred.
The new output of AcquiredLotsExhaustedException will provide the calculation result and the offending location in the transaction history.
black src tests reformatting is also included.