mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-09 21:16:12 +08:00
7a3f73cf1d
Otherwise, self._position_amounts will be out of sync with position.amount, etc. That value is used to calculate pnl and returns, so test for them.