vega-frontend-monorepo/libs/market-info
m.ray bf34f1c060
feat: 1486 add details of expected fees margin close out to deal ticket (#1771)
* fix: #1486 move deal ticket hooks from console-lite to be re-used in trading app for console v2

* fix: #1486 typo

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

* feat: #1486 console-lite fix

* feat: #1486 initial hook to get fee details

* feat: #1486 add tooltips

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

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

* feat: #1486 move all hooks for slippage into deal ticket

* fix: #1486 fix linting deal-ticket issue

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

* fix: update only when market price is updated

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

* feat: #1486 add fee factors in generate deal ticket query

* fix: #1486 show margin on short

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

* fix: #1486 fix price memo

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

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

* fix: #1486 fix NaN value on close out

* fix: #1486 revert close out calculation

* fix: #1486 prevent NaN close out

* fix: #1486 revert close out

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

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

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

* fix: #1486 add tooltip for fees

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

* fix: #1486 total fees formatting inside the hook

* feat: #1486 add qutote to fees tooltip

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

* chore: fix mock types

* fix: #1486 fix tests in console-lite

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

* fix: #1486 fix deal ticket test

* fix: #1486 fix deal ticket test

Co-authored-by: Rado <szpiechrados@gmail.com>
2022-10-23 14:08:02 +01:00
..
src feat: 1486 add details of expected fees margin close out to deal ticket (#1771) 2022-10-23 14:08:02 +01:00
.babelrc chore: LP tooltips & move market-info lib (#1267) 2022-09-12 11:07:29 +02:00
.eslintrc.json chore: LP tooltips & move market-info lib (#1267) 2022-09-12 11:07:29 +02:00
jest.config.ts chore: LP tooltips & move market-info lib (#1267) 2022-09-12 11:07:29 +02:00
package.json chore: LP tooltips & move market-info lib (#1267) 2022-09-12 11:07:29 +02:00
project.json chore: LP tooltips & move market-info lib (#1267) 2022-09-12 11:07:29 +02:00
README.md chore: LP tooltips & move market-info lib (#1267) 2022-09-12 11:07:29 +02:00
tsconfig.json chore: LP tooltips & move market-info lib (#1267) 2022-09-12 11:07:29 +02:00
tsconfig.lib.json chore: LP tooltips & move market-info lib (#1267) 2022-09-12 11:07:29 +02:00
tsconfig.spec.json chore: LP tooltips & move market-info lib (#1267) 2022-09-12 11:07:29 +02:00

market-info

This library was generated with Nx.

Running unit tests

Run nx test market-info to execute the unit tests via Jest.