Maximilian Schneider
82a3dcebb6
Merge branch 'align-advanced-trade-form' into max/stoploss
2021-09-30 11:51:49 +02:00
Tyler Shipe
7feb881bb3
rename fetchMangoAccounts to fetchAllMangoAccounts; prefer reloadMangoAccount over fetchAllMangoAccounts
2021-09-29 18:09:58 -04:00
Tyler Shipe
9118dbf010
fix trade form button colors; use latest client to handle when no advanced orders exist
2021-09-29 16:47:10 -04:00
Maximilian Schneider
9d82894c2d
prevent flashing on order reloading
2021-09-29 21:09:51 +02:00
Tyler Shipe
f2667e3346
use latest client
2021-09-29 13:10:16 -04:00
Tyler Shipe
7ba6cf2412
use the latest client
2021-09-29 12:24:09 -04:00
Tyler Shipe
03dc3cd001
Revert "add interest earned table to account page"
...
This reverts commit 0f6d39043f
.
2021-09-28 11:58:15 -04:00
saml33
229d9a8fbf
expose pnl on mobile table row
2021-09-28 23:15:36 +10:00
Tyler Shipe
0f6d39043f
add interest earned table to account page
2021-09-28 00:13:40 -04:00
saml33
242f46bbb7
fix -0 balance
2021-09-28 13:00:13 +10:00
ImpossiblePairs
12e5578765
Fixed order type specification
...
Updated to add explicit order types to the HandleModifyOrder function.
2021-09-27 10:02:34 -07:00
ImpossiblePairs
d089927d60
Order Line edge case handling and refreshing
...
Updated the order lines to handle additional edge cases including transactions cancelled before execution, open orders length changes and order length discrepancies.
Changed order line useEffect to be based on a time interval to avoid uncaught maximum render exceedance issues.
2021-09-27 09:22:19 -07:00
Maximilian Schneider
70dc7d816a
display conditional orders in order table
2021-09-27 17:45:39 +02:00
ImpossiblePairs
4de176eb4b
Merge branch 'main' into tradingview-order-lines
2021-09-27 07:35:50 -07:00
saml33
4c4533509e
fix mobile stats
2021-09-28 00:21:13 +10:00
saml33
56c42a857e
trade side tab label text
2021-09-27 22:43:23 +10:00
saml33
7b69b22feb
fix size buttons for perp
2021-09-27 22:36:25 +10:00
Maximilian Schneider
f7a7f5f424
Revert "leverage slider should use limit price if entered"
...
This reverts commit 1fdea822cd
.
2021-09-27 14:32:06 +02:00
saml33
efe04b8df1
spot margin toggle (advanced form only)
2021-09-27 22:11:19 +10:00
saml33
29af41d2c0
Merge branch 'max/stoploss' into align-advanced-trade-form
2021-09-26 23:40:02 +10:00
saml33
659e48c99f
mobile styles for new features
2021-09-26 23:20:51 +10:00
saml33
76859b83dc
remove semicolon
2021-09-25 23:08:49 +10:00
saml33
367e2712b0
align advanced trade form
2021-09-25 22:50:32 +10:00
Maximilian Schneider
5c09bedce8
update simple trade form
2021-09-25 13:47:22 +02:00
Riordan Panayides
9891c8688b
Add market name and price in title ( #20 )
...
* Add market name and price in title
* Reorder title, ensure price always displays on market pages
Co-authored-by: Maximilian Schneider <mail@maximilianschneider.net>
2021-09-25 12:17:35 +02:00
Riordan Panayides
9eabaa3b01
Trim bad data from first few hours of sol-perp stats ( #38 )
2021-09-25 12:17:17 +02:00
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
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