Commit Graph

299 Commits

Author SHA1 Message Date
Bartłomiej Głownia
df21996707
chore(markets): remove trading mode and type from market query (#6117)
Co-authored-by: Dariusz Majcherczyk <dariusz.majcherczyk@gmail.com>
2024-03-28 11:09:18 +00:00
Bartłomiej Głownia
a77bb06b2f
feat(deal-ticket): improve stop order rejection handling (#6084) 2024-03-27 16:11:53 +00:00
m.ray
2efe0a7aa1
fix(trading): align checkboxes tp/sl (#6088) 2024-03-22 17:21:39 +00:00
Matthew Russell
678ba9c4f7
fix(deal-ticket): broken test 2024-03-22 17:09:58 +00:00
m.ray
f13307aa77
feat(trading): align deal ticket checkboxes (#6082) 2024-03-22 16:54:45 +00:00
Art
01e87443ee
fix(positions): rework of the liquidation tooltip (#6070)
Co-authored-by: bwallacee <ben@vega.xyz>
2024-03-22 13:36:05 +00:00
Bartłomiej Głownia
0a70c0ea49
feat(deal-ticket): use order price if markPrice is not available in useMaxSize (#6057) 2024-03-22 12:21:00 +01:00
Bartłomiej Głownia
204871b81c
feat(deal-ticket): add useMaxSize unit tests (#6053) 2024-03-20 15:25:30 +01:00
Bartłomiej Głownia
e389579537
feat(deal-ticket): add size slider (#6006) 2024-03-19 12:49:31 +01:00
Bartłomiej Głownia
0636d19b0d
feat(deal-ticket): change min and max leverage (#5998) 2024-03-14 16:09:32 +00:00
Matthew Russell
0dd58b68cf
fix(deal-ticket): dont trigger deal ticket submit when clicking margin (#6004) 2024-03-14 13:43:22 +00:00
m.ray
b89523efb2
feat(trading): update validation and rules on take profit and stop loss (#5987) 2024-03-13 17:43:18 +00:00
Matthew Russell
cebbdb4ee7
Merge branch 'main' into develop 2024-03-12 14:08:50 +00:00
Art
c0942d56a1
fix(trading): crashing tooltip, enactment date from batch proposal (#5979) 2024-03-12 13:48:44 +00:00
Matthew Russell
aa71e608f0
fix(trading): proposed markets table (#5958) 2024-03-12 11:59:48 +00:00
Art
4b917926c5
chore(trading): market's tick size (#5929)
Co-authored-by: Dariusz Majcherczyk <dariusz.majcherczyk@gmail.com>
2024-03-08 17:04:33 +00:00
m.ray
93643f1737
feat(trading): take profit and stop loss (#5902)
Co-authored-by: Dariusz Majcherczyk <dariusz.majcherczyk@gmail.com>
2024-03-07 10:53:16 +00:00
Matthew Russell
2d821700bd
fix(trading): check for batch proposal in trading mode tooltip (#5895) 2024-03-01 14:26:29 +00:00
Matthew Russell
28b4593a1d
refactor(trading,governance,wallet): wallet rewrite (#5815)
Co-authored-by: bwallacee <ben@vega.xyz>
2024-03-01 14:25:56 +00:00
daro-maj
4ad1a47ded
chore(trading): add cross isolated margin info test (#5786)
Co-authored-by: Ben <ben@vega.xyz>
2024-02-15 08:17:38 +00:00
Bartłomiej Głownia
8db286fa93
feat(deal-ticket): rename EstimatePosition argument 2024-02-09 15:02:09 +01:00
Bartłomiej Głownia
b4e98e285e
feat(deal-ticket): update fields in margin details (#5722) 2024-02-06 08:42:11 +01:00
Bartłomiej Głownia
516b3e5b93
feat(deal-ticket): fix margin calculations in DealTicketMarginDetails for isolated margin mode (#5709) 2024-02-01 12:52:45 +01:00
Bartłomiej Głownia
1780f6fa7f
feat(trading): margin estimate update (#5664)
Co-authored-by: Dariusz Majcherczyk <dariusz.majcherczyk@gmail.com>
Co-authored-by: daro-maj <119658839+daro-maj@users.noreply.github.com>
2024-01-31 14:05:30 +00:00
Bartłomiej Głownia
4ef789e00a
feat(trading): use camel case marketId in updateMarginMode tx 2024-01-25 15:09:09 +01:00
Matthew Russell
6aea10c27b
chore(trading, governance, explorer): 0.74.0 type regen (#5619) 2024-01-24 22:34:11 +00:00
Matthew Russell
261f32aa5b
feat(trading): margin mode selector (#5660)
Co-authored-by: Bartłomiej Głownia <bglownia@gmail.com>
Co-authored-by: Dariusz Majcherczyk <dariusz.majcherczyk@gmail.com>
2024-01-24 13:17:22 +00:00
Matthew Russell
f22a3bc2d2 Revert "feat(trading): margin mode selector (#5575)"
This reverts commit fde77ebccb.
2024-01-23 08:46:16 -08:00
Bartłomiej Głownia
fde77ebccb
feat(trading): margin mode selector (#5575)
Co-authored-by: Dariusz Majcherczyk <dariusz.majcherczyk@gmail.com>
2024-01-23 16:19:49 +00:00
m.ray
bc9d87fe30
chore(trading): clean up triggering ratio (#5604) 2024-01-16 18:10:32 +01:00
m.ray
6a21862378
fix(trading): use No trading instead of Trading terminated (#5624) 2024-01-16 18:30:42 +02:00
Matthew Russell
d47d894147
fix(deal-ticket): stray curly in stop order deal ticket (#5547) 2023-12-28 12:27:56 +00:00
Ben
0af1d0ba82
chore(trading): fees e2e tests (#5496) 2023-12-19 12:22:15 +00:00
Bartłomiej Głownia
0796f2b31f
feat(environment): users controlled feature flags (#5425) 2023-12-12 13:53:20 +01:00
Bartłomiej Głownia
8182da3b31
feat(deal-ticket): fix postOnly mapping in mapFormValuesToOrderSubmission (#5375) 2023-11-30 11:25:25 +01:00
Bartłomiej Głownia
4f18caa486
feat(trading): upgrade i18n, fix plurals (#5331) 2023-11-30 07:31:44 +00:00
Bartłomiej Głownia
a2b9b0da05
feat(deal-ticket): enhance for fee discounts (#5353) 2023-11-29 12:59:42 +00:00
Matthew Russell
de5371435d
Merge branch 'main' into chore/backmerge-main 2023-11-27 20:08:08 -08:00
Ben
ca418cabfe
chore(trading): migrate python tests to jest (#5339) 2023-11-23 15:56:29 +00:00
Ben
6fdac2419c
chore(trading): move python stop order tests to jest (#5329) 2023-11-22 15:10:19 +00:00
Matthew Russell
d9dc43b359
chore(deal-ticket): re-enable margin estimates for perps (#5317) 2023-11-20 13:57:18 -08:00
Bartłomiej Głownia
bb47747501
feat(utils): use i18next (#5269)
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
2023-11-19 14:00:45 -08:00
Bartłomiej Głownia
48e4ab53a1
feat(orders): use i18next (#5263)
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
2023-11-19 13:12:35 -08:00
Matthew Russell
9344a2abc0
fix: no t function 2023-11-17 11:10:18 -08:00
Matthew Russell
fae66ca4ce
Merge branch 'main' into chore/sync-main 2023-11-17 10:56:19 -08:00
Matthew Russell
4b7338ed94
chore(deal-ticket,markets): dont show margin estimate for perps (#5305) 2023-11-17 10:33:24 -08:00
Bartłomiej Głownia
a070504d2e
feat(trading): i18n (#5126)
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
2023-11-14 21:10:06 -08:00
Matthew Russell
78add88014
chore(trading,governance,explorer): comply with eslint type import rules (#5257) 2023-11-14 16:43:36 -08:00
Matthew Russell
b3014bb98a
chore(trading,governance,explorer): nx migration to latest (#5246)
Co-authored-by: Edd <edd@vega.xyz>
2023-11-14 15:25:29 +01:00
m.ray
2f7e53e282
feat(trading): close position stopped and IOC behaviour update (#5211) 2023-11-09 22:31:18 +00:00