Commit Graph

1 Commits

Author SHA1 Message Date
m.ray
bf34f1c060
feat: 1486 add details of expected fees margin close out to deal ticket ()
* fix:  move deal ticket hooks from console-lite to be re-used in trading app for console v2

* fix:  typo

* feat:  deal ticket query update, console-lite fix

* feat:  console-lite fix

* feat:  initial hook to get fee details

* feat:  add tooltips

* feat:  add fees cell from market-info in tooltip

* fix:  edit deal-ticket.spec.ts titles and index.ts of deal ticket hooks

* feat:  move all hooks for slippage into deal ticket

* fix:  fix linting deal-ticket issue

* fix: set price, fix NaN percentage, watch full order object

* fix: update only when market price is updated

* feat:  add fees from est. order query, fees breakdown, fix BigNumber NaN issue

* feat:  add fee factors in generate deal ticket query

* fix:  show margin on short

* fix:  format price and fix dal ticket use order margin import

* fix:  fix price memo

* feat:  update estimate ordr query with order price or mark price

* fix:  revert apps/console-lite/.env

* fix:  fix NaN value on close out

* fix:  revert close out calculation

* fix:  prevent NaN close out

* fix:  revert close out

* feat:  add fee factor percentages in tooltip and fix NaN

* fix:  fix deal-ticket-steps est close out null handling

* fix:  fix deal-ticket-steps est close out null handling

* fix:  add tooltip for fees

* fix:  fix console-lite formatting on notional size and close out

* fix:  total fees formatting inside the hook

* feat:  add qutote to fees tooltip

* fix:  update hook, price, console-lite and styling

* chore: fix mock types

* fix:  fix tests in console-lite

* fix:  add declaration.d.ts to console-lite-e2e

* fix:  fix deal ticket test

* fix:  fix deal ticket test

Co-authored-by: Rado <szpiechrados@gmail.com>
2022-10-23 14:08:02 +01:00