vegaprotocol / frontend-monorepo

Toolkit for building apps that interact with Vega
https://vega.xyz
MIT License
23 stars 15 forks source link

feat(trading): add error type for not enough collateral for spot orders #6556

Closed mattrussell36 closed 1 week ago

mattrussell36 commented 1 week ago

Related issues 🔗

Closes #6554

Description ℹ️

Removes use of margin account balances when calculating if there is enough collateral for a spot trade

github-actions[bot] commented 1 week ago

Previews

App Preview
governance http://pr-6556.governance.previews.vega.rocks.s3-website.eu-west-1.amazonaws.com
explorer http://pr-6556.explorer.previews.vega.rocks.s3-website.eu-west-1.amazonaws.com
trading http://pr-6556.trading.previews.vega.rocks.s3-website.eu-west-1.amazonaws.com
multisig-signer http://pr-6556.multisig-signer.previews.vega.rocks.s3-website.eu-west-1.amazonaws.com