Skip to content

Add liquidation price chart toggle#229

Open
chinaxiao123 wants to merge 1 commit into
capofficial:mainfrom
chinaxiao123:fix/issue-7-liquidation-chart
Open

Add liquidation price chart toggle#229
chinaxiao123 wants to merge 1 commit into
capofficial:mainfrom
chinaxiao123:fix/issue-7-liquidation-chart

Conversation

@chinaxiao123
Copy link
Copy Markdown

Summary

  • add a new showLiquidationPriceOnChart setting persisted alongside the existing chart toggles
  • render a dashed liquidation price line for each open position on the active market
  • recalculate liquidation lines when funding trackers / market info change so the chart stays in sync

Testing

  • npm run build

Closes #7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Display liquidation price on chart

1 participant