Commit Graph

289 Commits

Author SHA1 Message Date
m.ray
8efadda98c
fix(trading): remove market value proxy and formatting (#4916) 2023-10-02 16:00:55 +01:00
Ben
18f1fbd56d
chore(trading): deal ticket order tests move (#4927) 2023-09-28 17:16:00 +02:00
Matthew Russell
60d7cf3029
Merge branch 'main' into chore/update-develop-with-mainnet-fixes 2023-09-26 15:06:07 -04:00
Maciek
d78de10855
chore(trading): remove underlines on tooltips (#4884) 2023-09-26 13:45:33 -04:00
Bartłomiej Głownia
8a9b1c7874
feat(deal-ticket): amend fee estimates for postOnly orders and when market is in auction (#4843) 2023-09-26 11:57:47 -04:00
Bartłomiej Głownia
89b3c06107
feat(deal-ticket): show worst case instead of ranges in estimated values (#4870) 2023-09-26 11:53:45 -04:00
Ben
45d6f43e74
chore(trading): deal ticket test to jest (#4842) 2023-09-22 15:25:50 +01:00
m.ray
290b7ae856
feat(trading): browse perpetuals [stagnet1] (#4590)
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
Co-authored-by: Bartłomiej Głownia <bglownia@gmail.com>
Co-authored-by: Joe Tsang <30622993+jtsang586@users.noreply.github.com>
Co-authored-by: Joe <joe@vega.xyz>
2023-09-20 10:11:03 +01:00
Maciek
f7037bca80
chore(deal-ticket): 4743 preserve estimate position cache in deal ticket (#4770) 2023-09-15 13:53:24 +01:00
Bartłomiej Głownia
fbd01dc1bd
fix(trading): use asset decimals to format liquidation price in posions table (#4787)
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
2023-09-14 11:18:58 -07:00
m.ray
250a654544
feat(trading): margin required progressive disclosure (#4755) 2023-09-12 12:06:47 -07:00
Maciek
84e40ccb2b
chore(deal-ticket): make margin warning more subtle (#4732) 2023-09-11 16:46:16 +02:00
Bartłomiej Głownia
719d210219
chore(trading): remove target build from libs (#4725) 2023-09-08 13:43:54 -07:00
Bartłomiej Głownia
47a84b4dac
feat(deal-ticket): show maximum number of active stop orders limit warning (#4687)
Co-authored-by: Maciek <maciek@vegaprotocol.io>
Co-authored-by: Edd <edd@vega.xyz>
Co-authored-by: Joe Tsang <30622993+jtsang586@users.noreply.github.com>
Co-authored-by: Sam Keen <samuel.kleinmann@gmail.com>
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
Co-authored-by: m.ray <16125548+MadalinaRaicu@users.noreply.github.com>
Co-authored-by: Dariusz Majcherczyk <dariusz.majcherczyk@gmail.com>
2023-09-07 09:25:26 +00:00
Bartłomiej Głownia
467ed5d53d
feat(deal-ticket): make margin values section expandable (#4664) 2023-09-04 17:05:53 -07:00
Maciek
9e5bc9c8d1
chore(trading): handle negative decimals (#4659) 2023-09-04 09:46:02 +02:00
Bartłomiej Głownia
255c3752f2
feat(deal-ticket): fix flaky tests (#4667) 2023-08-31 10:41:58 -07:00
Bartłomiej Głownia
a8c2f4e025
feat(deal-ticket): update deal ticket submit buttons (#4635) 2023-08-31 11:54:52 +02:00
Bartłomiej Głownia
dc959025c6
fix(deal-ticket): disable iceberg for IOC and FOK (#4629)
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
2023-08-25 14:27:55 -07:00
Bartłomiej Głownia
952e906eac
fix(deal-ticket): show expiresAt field value from state only, add required validation (#4626) 2023-08-25 10:56:43 -07:00
Bartłomiej Głownia
6a9f15f59e
feat(deal-ticket): submit oco stop orders (#4539) 2023-08-25 08:37:14 +02:00
Bartłomiej Głownia
78414b4429
feat(ui-toolkit): form element design changes (#4525)
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
2023-08-22 17:39:52 +01:00
Matthew Russell
98fd79bc35
fix(trading): prevent overflow in deal ticket if market fails to load (#4535) 2023-08-11 17:03:17 +01:00
Matthew Russell
70c3bc8128
chore(trading): remove floating buttons (#4512) 2023-08-10 16:02:46 +01:00
Bartłomiej Głownia
9e4ba9f275
feat(trading): merge deal ticket stores (#4494) 2023-08-09 11:54:16 +02:00
Matthew Russell
a70a7bcc8e
fix(trading): dont show connect wallet message in deal ticket (#4482) 2023-08-04 11:09:43 +01:00
Matthew Russell
228236c152
chore(deal-ticket): type dropdown icon (#4468) 2023-08-03 12:15:21 +01:00
Matthew Russell
38edcd88c0
chore(trading): fix alignment of expire (#4477) 2023-08-03 12:00:12 +01:00
Matthew Russell
918825aca8
chore: adjust spacing and text size of long/short type selectors 2023-08-02 15:36:39 +01:00
Bartłomiej Głownia
375d447fa8
feat(trading): add stop orders table and form (#4265)
Co-authored-by: Dariusz Majcherczyk <dariusz.majcherczyk@gmail.com>
2023-08-02 11:28:33 +01:00
Maciek
caa0076396
fix(deal-ticket): 4046 wrong margin requirement in order (#4378) 2023-07-25 14:52:32 +00:00
Matthew Russell
c1675e4b49
feat(trading): design changes (#4264)
Co-authored-by: Art <artur@vegaprotocol.io>
Co-authored-by: Bartłomiej Głownia <bglownia@gmail.com>
Co-authored-by: Dariusz Majcherczyk <dariusz.majcherczyk@gmail.com>
2023-07-24 09:37:18 +01:00
m.ray
94e398dd1c
feat(trading): submit iceberg orders (#4230) 2023-07-17 14:24:51 +00:00
Matthew Russell
981c8649a2
fix(trading): replace oracle details and deal ticket pink with red (#4284) 2023-07-11 14:26:24 +01:00
Maciek
efd632f5c6
chore(orders): get rid of unnecessary stores (#4231) 2023-07-04 17:47:04 +02:00
Bartłomiej Głownia
6e0577aee4
chore(trading): migrate nx to latest version (#4196) 2023-07-04 13:01:25 +02:00
m.ray
5cae2ce400
fix(trading): notional size formatting (#4192) 2023-06-27 09:33:42 +01:00
m.ray
df88e77cdf
fix(trading): liquidity provision table quantum formatting (#4114) 2023-06-21 11:23:07 +00:00
Bartłomiej Głownia
597e07608f
feat(positions): add liquidation to positions view (#4115) 2023-06-20 21:49:52 +00:00
Bartłomiej Głownia
c740c11eaa
feat(deal-ticket): improve no collateral validation (#4122) 2023-06-20 08:31:52 -07:00
Bartłomiej Głownia
1027827576
feat(trading): show margin level visualisation in asset breakdown modal (#4048) 2023-06-16 12:28:59 +02:00
Bartłomiej Głownia
2e7a6a6458
chore(trading): cleanup paginated data solution, improve performance (#4036) 2023-06-09 19:02:23 -07:00
Matthew Russell
b6286cd0f3
fix(deal-ticket): make ticket submit button always enabled (#4055) 2023-06-08 22:30:25 -07:00
m.ray
2ba0e9a1b2
chore(trading): add quantum formatting to deal ticket (#4030) 2023-06-07 11:49:50 +01:00
Matthew Russell
f2c70e6da4
fix(trading): performance issues with many orders (#3944)
Co-authored-by: Bartłomiej Głownia <bglownia@gmail.com>
2023-05-31 17:38:49 +02:00
Bartłomiej Głownia
d155909fe4
fix(deal-ticket): clear price error on type change (#3908) 2023-05-23 08:53:40 -07:00
Bartłomiej Głownia
2904975fd3
feat(trading): highlight negative oracle statuses in market lists (#3816) 2023-05-18 13:22:54 +02:00
Maciek
0a6e3cb6f5
chore(trading): refactor docs links resolver (#3782) 2023-05-17 12:10:31 +02:00
Matthew Russell
a4279d5b5e
feat(trading): sidebar market list (#3776) 2023-05-16 16:57:36 +00:00
Bartłomiej Głownia
c4cec47b0b
feat(trading): add oracle dialog trigger to oracle banner, display status reas… (#3727) 2023-05-15 16:20:30 +01:00
Bartłomiej Głownia
b2279c7e47
feat(trading): hook up new EstimatePosition and EstimateFees api methods (#3634) 2023-05-11 12:58:12 +02:00
Art
bed411040c
chore(trading): make limit default order type (#3619) 2023-05-08 15:48:43 -07:00
Matthew Russell
72821dd183
chore(utils,react-helpers,data-provider): remove apollo deps from ui-toolkit (#3626) 2023-05-07 18:01:07 -07:00
Matthew Russell
351a20abad
feat(trading,market-list): closed markets datagrid (#3429) 2023-05-02 10:41:21 -07:00
Art
360624282d
chore(web3): wallet connect v2 (#3324) 2023-04-20 17:20:59 +02:00
Bartłomiej Głownia
c15051d457
fix(trading): refactor market info accordion to avoid remount on candle reload (#3447) 2023-04-20 11:32:09 +02:00
Bartłomiej Głownia
31859cb779
chore(trading): maintain always up to date active orders list (#3430) 2023-04-18 12:49:42 +02:00
Maciek
b010c98346
fix(trading): welcome dialog with markets list click on market close window (#3404) 2023-04-11 11:34:44 +02:00
Bartłomiej Głownia
fd7940c4cf
chore(deal-ticket): remove not used code (#3406) 2023-04-11 08:13:41 +02:00
m.ray
474543d91b
fix(trading): order stopped intent toasts (#3347) 2023-04-03 19:21:56 +00:00
Bartłomiej Głownia
2aad6b1a14
feat(deal-ticket): show total margin available for an order, and where it will come from (#3318) 2023-04-03 15:17:23 +02:00
m.ray
ce0ccdfebc
feat(trading): add post only and reduce only orders (#3311) 2023-03-31 17:00:55 +01:00
Maciek
82e5128ba1
chore(trading): add "holding CMD + click" external link (#3273)
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
2023-03-31 15:23:44 +02:00
Bartłomiej Głownia
4595db07b0
fix(trading): throttle deal ticket submit (#3282) 2023-03-27 11:46:40 -07:00
Bartłomiej Głownia
58c6652e29
feat(trading): use mini scroll in deal ticket, market info for and landing dialog (#3269) 2023-03-24 17:01:12 -07:00
m.ray
a0b758334a
fix(trading): auction triggers liquidity API change in develop for core 0.69.0 (#3197)
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
Co-authored-by: Dariusz Majcherczyk <dariusz.majcherczyk@gmail.com>
2023-03-21 09:19:21 -07:00
m.ray
676aeb07a4
fix(trading): deal ticket validation on zero account balance and margin warnings (#3177) 2023-03-13 17:58:51 +00:00
m.ray
327ebf3496
fix(trading): deal ticket expiry not wiped out after changing TIF from GTT (#3149) 2023-03-10 15:02:01 +01:00
Bartłomiej Głownia
49e3baf094
feat(deal-ticket): simplify summary validation (#3144) 2023-03-09 16:12:59 -08:00
Bartłomiej Głownia
6705eb4398
feat(trading): calculate required margin base on open volume, active … (#2957)
Co-authored-by: mattrussell36 <mattrussell36@users.noreply.github.com>
2023-03-09 10:03:50 +00:00
Matthew Russell
8f5a2276de
fix(trading): order store connection to deal ticket (#3100)
Co-authored-by: Madalina Raicu <madalina@raygroup.uk>
2023-03-08 12:14:56 +00:00
Bartłomiej Głownia
f10c33748f
fix(orders): orders table flickering (#3105) 2023-03-07 17:13:34 +01:00
Matthew Russell
adca4600c2
feat(deposits): deposit flow (#3062) 2023-03-07 08:17:02 +00:00
m.ray
cddf2ba00b
fix(trading): edit order strikethrough (#3057) 2023-03-01 16:36:12 +00:00
m.ray
886b0cb6d3
fix(trading): deal ticket limit price input and margin warning (#3050) 2023-03-01 14:23:21 +00:00
Matthew Russell
a796a38200
chore(datagrid,utils,react-helpers): rename token app, add utils, datagrid, i18n (#3022) 2023-02-28 10:56:29 -08:00
m.ray
4eb6e09bd4
fix(trading): condense deal ticket & market info price range snags (#3012) 2023-02-27 18:04:13 +00:00
Matthew Russell
63698fbb80
feat(trading,deposits): improve ethereum connection and approve step (#2926) 2023-02-22 16:27:17 -08:00
m.ray
3aefa10a4f
feat(trading): quote unit and settlement asset relation (#2953) 2023-02-22 17:05:31 +00:00
m.ray
94c40cce7d
fix(trading): re-use input errors instead of notification component (#2924) 2023-02-20 07:53:16 +00:00
Maciek
b2a115f935
chore(trading): handle timeout and offline errors (#2918) 2023-02-16 17:30:32 +01:00
m.ray
55d6dd4dce
feat(trading): deposit flow deal ticket (#2874) 2023-02-14 15:43:52 +00:00
Bartłomiej Głownia
a5d53eee77
chore(trading): live update deal ticket market data (#2570) 2023-02-09 14:20:31 +00:00
Maciek
1952cb0e78
fix(trading): inform the user his connection to wallet is lost (#2863) 2023-02-07 11:31:15 +01:00
m.ray
b9908003ba
fix(trading): fix symbol on order estimates (#2827) 2023-02-02 13:30:47 +00:00
macqbat
d151b6e923
chore(trading): add sub statuses of opening auction trading mode (#2797) 2023-01-31 17:31:55 +01:00
m.ray
b40358a723
fix(trading): consolidate view as user mode (#2778) 2023-01-31 16:04:52 +00:00
m.ray
fe95c6fcbc
fix: show markets link & deal ticket validation (#2763) 2023-01-27 18:10:20 +01:00
m.ray
7ea7edc1e2
feat(#2565): orderbook populate limit (#2690)
Co-authored-by: asiaznik <artur@vegaprotocol.io>
2023-01-25 11:38:26 -08:00
Art
346af6118d
chore: consolidate persisted order entries (#2673) 2023-01-24 13:56:12 +00:00
Art
5ccef2de5e
feat: deposit and deal ticket transaction stores and toasts (#2495) 2023-01-19 13:10:52 +01:00
Dexter Edwards
f5b345636c
feat: view apps as any pub key (#2548) 2023-01-19 11:16:21 +00:00
m.ray
2a9f3c7568
fix: liquidation est. should update on price change (#2649)
* fix: liquidation close out price needs to update when price updates on limit orders

* fix(#2624): add test case on limit sell order
2023-01-17 16:31:39 +00:00
Bartłomiej Głownia
5a0da4e158
feat: update market data components when they are in view (#2607) 2023-01-16 17:51:30 +00:00
m.ray
31ffa306eb
fix(#2554): close out formatting (#2584)
* fix(#2530): fix use order close out - formatting to be done in component

* fix: format number in console-lite
2023-01-11 17:10:35 +00:00
m.ray
ef35999091
fix(#2532): show why market is in liquidity monitoring auction when liquidity supplied is > target (#2543)
* fix: add sufficient liquidity still auction message

* fix: add sufficient liquidity still auction message

* fix(#2532): update message

* fix(#2532): update liquidity data provider

* fix: lint issue

* fix: try update test
2023-01-09 14:39:03 +00:00
m.ray
bbdc64582a
feat(#2465): vega-pink across frontend-monorepo (#2476)
* feat(#2465): change red to vega pink

* feat(#2465): change red to vega pink part 2

* fix: update vega.red to vega.pink

* feat: color the charts

* feat: color the charts

* feat: color the charts

* fix: use dark pink and green

* fix: use dark pink and green

* feat(#2467): color long/short toggle and place order button

* fix: colors wick showing within candle

* fix: remove opacity from chart

* fix: use vega dark pink and green for vol cell

* fix: toggle and button colors

* feat(#2465): toggle peer checked text white

* fix: add liquidity supplied gap-2 in tooltip data grid

* fix: add indicator temporarily

* chore: update colors

* chore: update from x-dark to vega-x

* fix: rename symbols

* chore: update sell candles to only use stroke as they are solidly filled

* fix: remove use state

* fix: remove network account types

Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
2023-01-06 16:58:55 +00:00
Art
1211d27011
fix: error message consitency (2486) (#2507)
fix: error message consitency (2486)
2023-01-04 13:25:11 +01:00
m.ray
1e98ecbd21
feat(#2367): liquidity supplied info in market header (#2481)
* feat(#2367): market liquidity supplied in trade market header

* feat(#2467): calculate LP status

* fix: add LP view link

* fix: add LP view link

* feat(#2367): show liquidity supplied percentage

* feat(#2367): show liquidity supplied percentage

* fix: liquidity-utils test needs big number

* feat(#2456): liquidity status marker

* feat(#2456): liquidity indicator

* feat(#2367): update props lp

* fix: use market data directly

* feat(#2367): move data grid in react-helpers

* feat(#2367): move data grid in react-helpers

* fix: indicator commented

* chore: remove unnecessary styles

* test: update test name

Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
2022-12-28 09:37:19 -08:00
Radosław Szpiech
6cb2e3a3cf
chore: move mocks next to graphql queries (#2469)
* chore: move mocks next to graphql queries

* chore: mock functions rework

* chore: clean up
2022-12-23 12:36:25 +01:00