Geoff Taylor
c90ff010d3
Improved how accounts handle their basket of tokens.
2021-08-03 12:40:00 +01:00
Geoff Taylor
ed3955cc1f
Fixed some type hints.
2021-08-01 18:03:46 +01:00
Geoff Taylor
ca3193e0b6
Added account indexing to commands that need it.
2021-07-31 14:43:39 +01:00
Geoff Taylor
e721d6c8e8
Improved Group and Account output. Tied OpenOrders and PerpOpenOrders together with a PlacedOrdersContainer protocol.
2021-07-29 16:19:52 +01:00
Geoff Taylor
5b6d5f2291
Upgraded to new, better devnet group.
2021-07-29 12:38:34 +01:00
Geoff Taylor
d22a09f208
Added market 'stubs' to allow for delayed loading of markets.
2021-07-23 11:42:22 +01:00
Geoff Taylor
94df52003b
Changes for devnet group v3.8.
...
* Some struct/layout changes
* Big changes to OpenOrders handling in MarketMaker
* Serum and Spot settlement should now work as expected
2021-07-19 15:04:53 +01:00
Geoff Taylor
bcd56301c9
Brought changes to structs and instructions across for new group/code v3.4.
2021-07-13 12:43:50 +01:00
Geoff Taylor
faf514cde1
Brought up to date for new Group structures. New websocket approach.
2021-07-12 10:57:05 +01:00
Geoff Taylor
9e706c1d91
(Temporarily?) removed Settle from Spot order placement because it stopped working.
2021-07-01 22:10:52 +01:00
Geoff Taylor
bf675122ac
Updated ids.json for new group. Updated Group with new structure.
...
* Extended mechanism for combining instructions.
* Fixed Account's calculations of deposits and borrows.
* Added net_assets to Account.
* Groups now maintain loaded RootBanks, not just PublicKeys of them.
* Fixed simple market-maker's calculation of position sizes.
2021-07-01 21:24:08 +01:00
Geoff Taylor
3e4ba1052c
Initial work on placing/cancelling spot market orders.
2021-06-30 14:08:37 +01:00
Geoff Taylor
5b71ffbd18
Big Rename - removal of old Group and MarginAccount, deletion of a lot of code that is no longer relevant.
...
* Added some TODO comments where work needs to be done but pieces are currently missing.
2021-06-25 15:50:37 +01:00