Commit Graph

199 Commits

Author SHA1 Message Date
saml33 edd5c3cf11 change perp reference price check to percentage difference 2024-10-28 10:13:53 +11:00
saml33 6102c1482c handle bank name mismatch 2024-10-20 20:58:57 +11:00
saml33 f9cf86b7bb check traffic ref price before allowing perp market order 2024-10-19 22:11:59 +11:00
saml33 735f3ef624 fix missing dependency for perp order price calc 2024-10-18 13:01:46 +11:00
Adrian Brzeziński e7b0d6499f add more tags to analitics 2024-08-21 23:21:56 +02:00
Adrian Brzeziński a9297e267e more sentry fixes 2024-08-19 17:20:46 +02:00
Adrian Brzeziński 9ebd548643 analitics sending fixes 2024-08-19 14:29:00 +02:00
Adrian Brzeziński 0692d7e33a
sentry adjustments (#442)
* better analitics

* upgrade sentry lib

* fix

* fix
2024-08-07 22:36:31 +02:00
Adrian Brzeziński 60fe8d2029
deposits limits (#375)
* spot limits

* deposits + lib mock

* fix

* styling and copy

* fix

* fix

---------

Co-authored-by: saml33 <slam.uke@gmail.com>
2024-01-22 19:21:24 +01:00
saml33 993a441071 add warning when free collateral <= 0 2024-01-21 23:21:34 +11:00
saml33 f8bac40412 add uninsured warning notification to trade 2024-01-18 23:58:18 +11:00
saml33 4557eff7c2 fix deposit/withdraw color in activity feed and update outdated tailwind classes 2024-01-11 20:19:31 +11:00
Adrian Brzeziński 753e9bd38f improve perp quering fix 2024-01-06 16:02:51 +01:00
Adrian Brzeziński 074bf76f6d improve perp quering 2024-01-06 15:47:49 +01:00
saml33 7610af5287
update market close price and add more info to warning (#362)
* update market close price and add more info to warning

* remove redundant dependency

* fix liquidity check calc

* use max slippage const

* show slippage limit and update warning text

* add $ sign

* fix

---------

Co-authored-by: Adrian Brzeziński <a.brzezinski94@gmail.com>
2024-01-06 14:11:37 +01:00
saml33 60fe8e9ffb fix sanctioned trade button check 2024-01-05 10:37:00 +11:00
saml33 1fababa7a4 add modal if ip api fails and finish reduce only if sanctioned 2024-01-04 12:15:32 +11:00
saml33 dc28778bf4 add missing dependencies 2024-01-03 22:47:25 +11:00
saml33 bd82c12d40 merge main and move disclaimer 2024-01-03 13:28:26 +11:00
saml33 c1d284ec6b fix formula 2023-12-25 21:00:23 +11:00
saml33 22a40a822e validate limit price within oracle price band 2023-12-24 22:15:31 +11:00
Tyler c2a4ad41d7
fix firefox bug with order form 2023-12-16 12:31:48 -05:00
saml33 e05b41627f fix spot max 2023-12-11 23:34:59 +11:00
Tyler ae4294073d
oops 2023-12-08 20:18:14 -05:00
Tyler 723f32727f
uncomment 2023-12-08 16:59:33 -05:00
Tyler 51f9a324e5
add hook dependency 2023-12-08 16:58:17 -05:00
saml33 6bee92a523 comment out trade form validation 2023-12-09 08:14:58 +11:00
saml33 d204b980d7 add more trade form validation 2023-12-08 14:52:18 +11:00
saml33 dfcc9a5a30 fix spot slider decimals 2023-12-08 13:53:49 +11:00
saml33 1d07a03b95 add warning when perp slots are full 2023-12-07 21:39:46 +11:00
saml33 c7fb525aba remove deposit button on trade form 2023-12-06 08:58:25 +11:00
Lou-Kamades 8a755535aa
enable spot trading on stub oracle markets 2023-12-04 11:45:27 -06:00
saml33 7e761becf0 validate trade form size and fix slider percentages 2023-12-04 14:36:35 +11:00
saml33 ee6576e3e7 move tradeform button to component 2023-12-02 22:43:22 +11:00
saml33 3995569774 handle account state buttons on trade form 2023-12-02 15:11:00 +11:00
saml33 7ce059ab55 fix slots error showing when no account 2023-12-02 08:18:19 +11:00
saml33 ea302ffd0a add open new account as an option for slots error 2023-11-22 14:20:19 +11:00
saml33 14702a99c2 add slot errors to spot trade form 2023-11-22 11:30:19 +11:00
saml33 a5c06e4e3c fix spot trade slider 2023-11-22 10:16:30 +11:00
saml33 cbae98cdce add error when serum account slots are full 2023-11-22 09:46:27 +11:00
saml33 bed2836566 fix trade form 2023-11-08 08:29:01 +11:00
saml33 2287106a52 set trigger orders to the correct side 2023-11-07 12:50:23 +11:00
saml33 b7ca2a3710 show trigger order lines on chart 2023-11-06 15:00:41 +11:00
saml33 3fe194c25f form validation 2023-11-05 22:22:05 +11:00
saml33 101d6efd5d add trigger orders to trade form 2023-11-04 23:24:17 +11:00
saml33 9aa665fcf1 add max slippage and ioc to perp market orders 2023-10-30 22:19:04 +11:00
Riordan Panayides 2aa2f0422c Add warning bnner, add granular features for geoblock, allow geoblock reduceonly 2023-10-25 14:32:54 +01:00
saml33 6f1e56472e use notional amount for max borrow in period warning 2023-10-25 20:21:21 +11:00
saml33 68cfd1594d fixed raised button flicker 2023-10-06 10:49:46 +11:00
saml33 02fdf118de enable spot limit trade form button 2023-09-19 22:01:28 +10:00