Commit Graph

90 Commits

Author SHA1 Message Date
saml33 2805e21fde align title, side tabs, trade button 2021-09-25 19:40:35 +10:00
Maximilian Schneider 95ac8c58b9 merge changes from sam 2021-09-24 20:58:00 +02:00
Maximilian Schneider 31b9737f59 allow selecting SL & TP directly 2021-09-24 20:38:05 +02:00
saml33 0469b17847 add flip card to tradeform 2021-09-24 22:24:17 +10:00
Maximilian Schneider d310e0b66f [wip] visualize & cancel trigger order and fuck up order reloading 😭 2021-09-23 13:50:34 +02:00
Tyler Shipe 207fddd242 call addPerpTriggerOrder 2021-09-23 02:05:47 -04:00
Tyler Shipe 419f7d607c Merge branch 'ts/spot-order-2' into max/stoploss 2021-09-22 23:20:56 -04:00
Maximilian Schneider 8abbce0238 [wip] add trigger order components 2021-09-21 20:04:33 +02:00
saml33 615e858cab add maker/taker fees back to trade form 2021-09-21 10:08:38 +10:00
saml33 7e8f3e12af tradeform buttons 2021-09-20 13:28:37 +10:00
saml33 9123e63344
Trade page mobile (#35)
* mobile styles for chart, position, account

* mobile styles for trade form

* trade page mobile styles

* tab layout

* fix unknown property fill-rule

* test swipeable tabs

* fix container height

* fix orderbook mobile styles

* account page mobile styles

* fix swipeable container height

* stats page mobile styles
2021-09-20 02:36:02 +02:00
Tyler Shipe f1d59d32e1 use placeSpotOrder2 and add reduce only orders for perps 2021-09-15 20:25:23 -04:00
Tyler Shipe c1269298b9 use custom endpoint url 2021-09-13 17:14:59 -04:00
Tyler Shipe e080ff8120 fix clickable size in orderbook 2021-09-10 13:28:18 -04:00
Tyler Shipe 5bcec8dd69 change interval to refresh trade history 2021-09-08 14:08:54 -04:00
Tyler Shipe b03db3b771 remove send transaction notification 2021-09-07 15:27:54 -04:00
Tyler Shipe e5b67857af retry transaction more frequently; use tx callback for notifications 2021-09-04 17:59:53 -04:00
Tyler Shipe e306915a45 Increase frequency of background mangoAccount updates 2021-09-04 12:40:43 -04:00
Tyler Shipe 73fa197d5d remove unnecessary emotion styling; use asyncawait for sleeps 2021-09-03 15:02:51 -04:00
Tyler Shipe 4f20fc6542 use client reloadMangoAccount 2021-08-31 13:47:03 -04:00
Tyler Shipe 44ed905eb6 Fix trade form quote rounding 2021-08-31 10:55:49 -04:00
Tyler Shipe 18d0a08d6c disable trade button if no mango account 2021-08-25 17:57:01 -04:00
Tyler Shipe 052567de21 disable trade button if mangoAccount doesn't exist 2021-08-25 17:48:35 -04:00
Tyler Shipe 1c0962031b add notification when sol balance is low and when connecting wallet; disable connect button until walletadapter is loaded 2021-08-24 12:28:25 -04:00
Tyler Shipe b3cc717c86 use context slot to sync orderbook updates 2021-08-23 13:12:48 -04:00
Maximilian Schneider e68d128d8f add available margin & leverage slider 2021-08-20 15:34:04 +02:00
Tyler Shipe 8103a3cc85 disable leverage slider 2021-08-19 17:46:31 -04:00
Tyler Shipe 1c64a8a252 show position closing in leverage slider 2021-08-18 20:33:45 -04:00
Tyler Shipe 0af7a8b8ee more trade form improvements 2021-08-18 16:15:17 -04:00
Tyler Shipe 86ea7afcff add leverage slider 2021-08-18 14:23:12 -04:00
Tyler Shipe 2105827769 reduce sleep after placing a trade 2021-08-18 11:01:42 -04:00
Tyler Shipe a7fc2c6c4d refactor 2021-08-17 16:50:16 -04:00
dd 800bea3306 added in self cranking for perp orders 2021-08-17 16:36:31 -04:00
Tyler Shipe 46d909ef6d add market fees to trade form box 2021-08-17 15:37:07 -04:00
Tyler Shipe 7d02331953 fetch mango account state if place trade fails 2021-08-17 14:05:25 -04:00
Tyler Shipe 17d73fc3cf more frequent mango acct updates 2021-08-16 18:10:06 -04:00
saml33 e810c5c215 improve theme and misc styling 2021-07-29 23:19:32 +10:00
Tyler Shipe 8207659bb1 cleanup 2021-07-23 13:07:31 -04:00
saml33 d0797bf194 connect wallet empty states 2021-07-22 21:34:03 +10:00
Tyler Shipe 6606dc1bff update tradeForm 2021-07-07 13:27:11 -04:00
Tyler Shipe 1bb61ad905 use latest PerpMarket field names 2021-07-07 11:46:25 -04:00
Tyler Shipe a0ba6f44e8 update notifications, wire up account change modal 2021-07-06 18:04:20 -04:00
Tyler Shipe 619295d2e0 parsed trade history for perps 2021-06-24 16:57:11 -04:00
Tyler Shipe cb44650367 connect perp market to websocket for orderbook 2021-06-23 15:09:19 -04:00
Tyler Shipe 1b02a53314 update naming to match client 2021-06-23 11:32:33 -04:00
Maximilian Schneider 107c2e8ed3 add cancel perp order call and remove unused imports 2021-06-19 00:26:47 -04:00
Maximilian Schneider ccad1015f3 base & quote symbol 2021-06-18 18:53:24 -04:00
Tyler Shipe 054cc5c82e remove console logs and fetch all markets 2021-06-18 18:38:09 -04:00
Maximilian Schneider 4d7b02e6a0 place perp order works now 2021-06-18 14:07:07 -04:00
dd 62bc1b536f Fixed minOrderSize and tickSize in TradeForm 2021-06-18 13:50:25 -04:00