Commit Graph

942 Commits

Author SHA1 Message Date
saml33 993a441071 add warning when free collateral <= 0 2024-01-21 23:21:34 +11:00
saml33 6cdf0a91a7
Merge pull request #373 from blockworks-foundation/saml33/uninsured-trade-warning
add uninsured warning notification to trade
2024-01-19 08:35:09 +11:00
saml33 250e1b832a do not disable trade button when too much size 2024-01-19 00:13:19 +11:00
saml33 f8bac40412 add uninsured warning notification to trade 2024-01-18 23:58:18 +11:00
Adrian Brzeziński 23bfea953f adjust netborrows with settings lib 2024-01-18 02:01:15 +01:00
saml33 0e2e8f2772 move trash favorites button 2024-01-17 14:06:43 +11:00
saml33 e9f9496fea use unicode characters instead of quote symbol 2024-01-13 22:05:22 +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 71352cedf1
fix jup call on every type (#364) 2024-01-09 11:36:44 +01:00
saml33 6456b41196 fix order filtering for market 2024-01-08 14:00:05 +11:00
Adrian Brzeziński 5c9953fa0d fix depth chart 2024-01-08 03:35:32 +01:00
Adrian Brzeziński b8c28b81d2 warning fix 2024-01-07 13:56:26 +01:00
Adrian Brzeziński be0ad0f92a retry to close position 2024-01-07 13:55:19 +01: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 d72f2e3f30 temp fix for trade button 2024-01-05 10:23:49 +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
Adrian Brzeziński 45c1680bd7 fix name pass in create account 2024-01-02 17:44:38 +01:00
saml33 fbb3862906
fix reduce only max amounts (#361) 2024-01-01 13:46:08 +01:00
Adrian Brzeziński 61dc94011a more resilent openbook decode 2023-12-28 22:47:02 +01:00
Adrian Brzeziński 562395dfee fix orderbook render 2023-12-28 22:32:27 +01:00
Adrian Brzeziński 7f9d47cbf3 fix orderbook init 2023-12-28 22:30:17 +01:00
Adrian Brzeziński 76dba0dac6 fix 2023-12-28 19:41:19 +01:00
Adrian Brzeziński 6fb99db6ce
token tiers adjustments + refactor (#356)
* fix

* fix

* add simulation

* fix

* improve decode logic for oderbook
2023-12-28 19:39:46 +01:00
saml33 60f2815569 fix trade form connect button 2023-12-28 22:14:08 +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
saml33 f62803a2c4 filter and sort orders 2023-12-21 12:40:37 +11:00
saml33 a732d51943 re-arrange positions table 2023-12-21 09:38:52 +11:00
Tyler 43f014a17f fixes 2023-12-20 13:14:59 -05:00
saml33 300c8fcc00
Merge pull request #352 from blockworks-foundation/saml33/birdeye-change
use birdeye for change values
2023-12-20 08:29:31 +11:00
saml33 75c2b06d2b use birdeye for change values 2023-12-18 15:39:47 +11:00
Tyler c2a4ad41d7
fix firefox bug with order form 2023-12-16 12:31:48 -05:00
saml33 23770e32f9
fix max errors for new listings with no price (#348) 2023-12-13 19:45:31 +01:00
saml33 e05b41627f fix spot max 2023-12-11 23:34:59 +11:00
saml33 cc0ddd8cde merge main and tidy up 2023-12-09 22:01:19 +11:00
saml33 daf62c952b Merge branch 'main' into saml33/spot-market-trade-fixes 2023-12-09 21:04:56 +11:00
Tyler ae4294073d
oops 2023-12-08 20:18:14 -05:00
saml33 63ae9d3810 Merge branch 'main' into saml33/spot-market-trade-fixes 2023-12-09 09:11:21 +11: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 78cdbb78ed fix spot market trade form 2023-12-08 23:26:20 +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