Skip to content

Cross Free Collateral not updating correctly when canceling isolated margin limit orders #832

@ManticorePrivacy

Description

@ManticorePrivacy

I've noticed an issue with how the Cross Free Collateral balance behaves when working with isolated margin limit orders.

Here's what I'm experiencing:

  • When I open limit orders in isolated margin mode, my Cross Free Collateral balance decreases by the amount used for each of the limit orders. This seems correct.

  • However, when I cancel one of these limit orders, my Cross Free Collateral balance doesn't change. I would expect it to increase, reflecting the released funds from the canceled order.

  • I've found that the only way to get my Cross Free Collateral balance to update correctly is to cancel ALL of my isolated margin limit orders. Only then does the balance return to what I believe is the correct amount.

I'm not sure if I'm misunderstanding something about how Cross Free Collateral should work, or if this is indeed a bug.

Steps to reproduce:

  1. Have some balance in your account
  2. Open several limit orders in isolated margin mode
  3. Watch your Cross Free Collateral decrease
  4. Cancel one of the limit orders
  5. Notice that your Cross Free Collateral doesn't change
  6. Cancel all remaining limit orders
  7. See that your Cross Free Collateral finally updates to the correct amount

Capture

Thanks for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions