Commit Graph

948 Commits

Author SHA1 Message Date
ImpossiblePairs 115257a363
Delete fix-husky.js
Removing redundant fix.
2021-09-23 21:38:05 -07:00
ImpossiblePairs c52f5d3725
Update yarn.lock 2021-09-23 21:36:06 -07:00
Maximilian Schneider 724bb77ef4 fetch open orders on wallet connect 2021-09-23 22:52:16 +02: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
Tyler Shipe 0e389e7c3b remove console.logs 2021-09-22 23:14:21 -04:00
Tyler Shipe 13c3e3ad5c Hide average rates if we haven't passed the period length 2021-09-22 17:22:31 -04:00
Tyler Shipe 6513d046e6 Use deposit and borrow index to calculate average rates 2021-09-22 16:52:42 -04:00
ImpossiblePairs abfc8c6c69
Add Tradingview Order Lines (#32)
* Update Cancel and Place Order Functions

Updated function to cancel and place a new order. Requires 2 tx's until mango-client can be updated with the modify order tx.

* Completed handleModifyOrder

Completed handleModifyOrder and removed handlePlaceOrder as it is no longer required.

* Formatting and Context Updates

Added some additional context to the Modify order notifications, specifying modified orders as Limit orders, and updated USD formatting.

* Update yarn.lock

* Added toggles for OpenOrders initialization and OrderInProgress

Added an additional order line update on initialization of an OpenOrders account and added a toggle for orders in progress to prevent a moved order line from moving back to it's original price whilst a transaction for an order line is pending.
2021-09-22 15:17:12 +02:00
saml33 6c443936a3 fix mobile orderbook asks order 2021-09-22 19:26:59 +10:00
Tyler Shipe 8ac61f4b3e yarn format and remove console.log 2021-09-21 16:19:01 -04:00
Tyler Shipe 1fdea822cd leverage slider should use limit price if entered 2021-09-21 16:12:50 -04:00
Maximilian Schneider 8abbce0238 [wip] add trigger order components 2021-09-21 20:04:33 +02:00
Maximilian Schneider 5da4887736 add slope wallet 2021-09-21 12:08:28 +02:00
saml33 53e3f42ba1 remove scroll on position panel 2021-09-21 19:50:53 +10:00
Maximilian Schneider 228b9ae09b add assets to stats page 2021-09-21 11:28:24 +02:00
saml33 615e858cab add maker/taker fees back to trade form 2021-09-21 10:08:38 +10:00
Tyler Shipe 7abc83ce0f use latest client 2021-09-20 19:51:25 -04:00
Tyler Shipe 5bb39c4bcb use endpoint env var 2021-09-20 19:50:36 -04:00
saml33 782157b5be fix mobile chart display 2021-09-21 07:49:26 +10:00
Tyler Shipe 745ce39647 add padding between prices on orderbook for md+ screens 2021-09-20 15:39:20 -04:00
Tyler Shipe 1861f9dc72 use latest client to fix equity and leverage display 2021-09-20 14:58:09 -04:00
Tyler Shipe ce301c07df use latest price for funding rate until avg is available 2021-09-20 14:37:38 -04:00
Tyler Shipe 4f96816ec3 use latest client 2021-09-20 13:46:51 -04:00
Tyler Shipe 79e2963204 use latest client to pull in new markets 2021-09-20 13:10:15 -04:00
saml33 04913c2a3a fix trade history tab display 2021-09-20 23:15:44 +10:00
saml33 cc45750a59 fix null open orders 2021-09-20 22:46:22 +10:00
saml33 3e1b872e42 align mobile tab headings 2021-09-20 22:24:42 +10:00
saml33 07ad9cf4b3 fix orderbook padding 2021-09-20 19:56:50 +10:00
saml33 e1f4a9baf8 revert market position key 2021-09-20 15:00:02 +10:00
saml33 7e8f3e12af tradeform buttons 2021-09-20 13:28:37 +10:00
saml33 1830986e40 remove swipeable tabs from desktop views 2021-09-20 13:21:55 +10:00
saml33 3d777a4ab1 increase horizontal page container padding 2021-09-20 10:50:51 +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
jackson-sandland 21ccc78716 add v3 to read-me 2021-09-17 04:52:41 +02:00
Tyler Shipe f1d59d32e1 use placeSpotOrder2 and add reduce only orders for perps 2021-09-15 20:25:23 -04:00
Tyler Shipe efe7990056 update useEffect dependencies 2021-09-14 14:09:33 -04:00
Tyler Shipe 824e8cc7ae fix to use rpc url from localstorage on first connection 2021-09-14 12:27:38 -04:00
saml33 9b3faddc3d fix negative borrow amount 2021-09-14 11:32:36 +10:00
Tyler Shipe cf311c9400 Merge branch 'custom-node' into main 2021-09-13 19:29:37 -04:00
Tyler Shipe 9162ffbe3a use dropdown for node selection 2021-09-13 19:27:02 -04:00
Tyler Shipe 83d72c8aaa fix issue with mangoclient import 2021-09-13 17:21:58 -04:00
Tyler Shipe c1269298b9 use custom endpoint url 2021-09-13 17:14:59 -04:00
Tyler Shipe cc87df1c02 optional numTrades for tradehistory 2021-09-13 12:40:28 -04:00
Tyler Shipe c91d65e933 only show 100 recent trades in history tab 2021-09-13 12:28:53 -04:00
Maximilian Schneider 97721bf678
Open BTC-Perp when navigating to trade page 2021-09-13 02:37:43 +02:00
Tyler Shipe 445aabd506 fix z-index 2021-09-12 12:11:58 -04:00
Tyler Shipe 288b14a167 fixed charts in dev mode 2021-09-11 18:41:14 -04:00
Tyler Shipe 13a48cd2dc use cloudflare worker in ipAddress hook 2021-09-10 16:10:22 -04:00