project icon indicating copy to clipboard operation
project copied to clipboard

Settlement balance must be greater than (-)postion

Open pthandar opened this issue 1 year ago • 5 comments

pthandar avatar Nov 08 '23 05:11 pthandar

If the settlement balance is less than the position balance, after the settlement is processed settlement balance gets a negative value.

The settlement balance must be always a positive value.

pthandar avatar Nov 08 '23 05:11 pthandar

Before settlement, Private Zenhub Image

After settlement (-1,000,000) Private Zenhub Image

YminOo avatar Nov 08 '23 05:11 YminOo

We need to limit the withdrawal amount to the settlement balance minus the open position balance (including the pending balance). Even better if we get this balance directly from the A&B account structure.

pedrosousabarreto avatar Nov 22 '23 12:11 pedrosousabarreto

Hi @pedrosousabarreto, was this issue fixed? If not, for sure, we will prioritise! Thanks.

JulieG19 avatar Apr 19 '24 09:04 JulieG19

@pthandar , is this ticket complete? If so, could you please add evidences that this is working? Thanks!

JulieG19 avatar Apr 22 '24 11:04 JulieG19