Commit Graph

19 Commits

Author SHA1 Message Date
Geoff Taylor d6a57f3859 Added subscribe() method to all AddressableAccounts. 2022-03-01 12:22:50 +00:00
Geoff Taylor eef007758d Expanded porcelain functions, cleaned up old usage. 2022-02-24 19:40:05 +00:00
Geoff Taylor 906b419fc6 OrderBook can now provide expired orders, if requested. 2022-02-22 12:06:20 +00:00
Geoff Taylor 5c3b0befa9 Switched from autopep8 to black for code formatting. Reformatted all files. Updated dependencies. 2022-02-09 19:31:50 +00:00
Geoff Taylor 62b0332439 Removed Unicode monospaced-font rendering of class names because VSCode has started being annoying about it all. (Boo...) 2021-12-13 12:06:42 +00:00
Geoff Taylor 5f7bd3c04c Added interest rate calculations. Moved TokenInfo to TokenBank. 2021-11-13 19:23:11 +00:00
Geoff Taylor 3f4ec995f0 Group and Account slots now contain their own matching indices. 2021-11-09 21:08:06 +00:00
Geoff Taylor 01cfae7fa4 Fixed problems with redeem-mango 2021-11-09 19:54:50 +00:00
Geoff Taylor d15e953ae7 Refactor of code to work with mypy --strict 2021-11-09 13:23:36 +00:00
Geoff Taylor 199c39130d Moved to having Instrument as a basis for Token, to allow for perp markets with no underlying SPL token. 2021-11-08 11:39:09 +00:00
Geoff Taylor 27c5e676f3 Refactored notifications. 2021-10-28 12:19:18 +01:00
Geoff Taylor 500cff9632 Fixed PerpMarketDetails behaviour when there is no liquidity mining ongoing. 2021-10-28 11:54:29 +01:00
Geoff Taylor c578892bd2 Fixed problem with estimated end time of period in liquidity mining info. 2021-10-18 16:40:41 +01:00
Geoff Taylor c7090bfb95 Fixed UTC timezone issue in PerpMarketDetails. 2021-10-16 12:50:10 +01:00
Geoff Taylor 58135ea101 Added a show-liquidity-mining-info command to display liquidity mining details. 2021-09-23 12:30:59 +01:00
Geoff Taylor 9159d615c4 Updated dependencies and fixed subsequent issues. 2021-08-27 20:37:23 +01:00
Geoff Taylor ed3955cc1f Fixed some type hints. 2021-08-01 18:03:46 +01:00
Geoff Taylor 5b6d5f2291 Upgraded to new, better devnet group. 2021-07-29 12:38:34 +01:00
Geoff Taylor eb244a2167 Renamed PerpMarket to PerpMarketDetails, and PerpsMarket to PerpMarket to be consistent with SerumMarket and SpotMarket. Improved market stub handling. 2021-07-23 14:18:26 +01:00