Commit Graph

657 Commits

Author SHA1 Message Date
Geoff Taylor c837b21e7e Fixed use of version command in docker. 2021-11-16 18:58:57 +00:00
Geoff Taylor 4b517bd614 Trying to improve visibility of version information. 2021-11-16 18:01:44 +00:00
Geoff Taylor 38a3b8bcae Moved devnet.3 group down the list in ids.json so it's not the default - devnet.2 should remain the devnet default (for now). 2021-11-16 17:19:42 +00:00
Geoff Taylor e171b57445 Initial work on show-funding-rates. 2021-11-15 20:39:29 +00:00
Geoff Taylor 1fa2a2fb4e Updated ids.json with devnet.3 group. 2021-11-15 14:48:52 +00:00
Geoff Taylor 5f7bd3c04c Added interest rate calculations. Moved TokenInfo to TokenBank. 2021-11-13 19:23:11 +00:00
Geoff Taylor 91df7152e7 v3.2.3 2021-11-13 12:30:20 +00:00
Geoff Taylor d7ce30330b Fixed problem accessing USDC in show-account-balances. 2021-11-13 12:29:47 +00:00
Geoff Taylor d8f06a6b00 v3.2.2 2021-11-12 19:37:48 +00:00
Geoff Taylor dce252ee1f Fixed problem depositing and withdrawing shared quote token. 2021-11-12 19:31:24 +00:00
Geoff Taylor 88b3f31101 v3.2.1 2021-11-11 12:42:59 +00:00
Geoff Taylor 88cb2fcdd4 Refactored Group and Account to remove requirement for Group to load all Root Banks. 2021-11-11 11:56:29 +00:00
Geoff Taylor 393ff6a899 Added unit tests for slot accessors in Group and Account. 2021-11-10 17:46:54 +00:00
Geoff Taylor 17a04a5d86 Updated some dependency major versions. 2021-11-10 12:24:52 +00:00
Geoff Taylor 5f09766442 Updated dependencies. 2021-11-10 12:01:19 +00:00
Geoff Taylor 0c766a4e9f v3.2.0 2021-11-10 11:42:02 +00:00
Geoff Taylor 4b3c1eecd9 Fixed problem accessing quote root bank. 2021-11-09 21:21:13 +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 e2d0853d3f Fixed problem finding market index by instrument. 2021-11-09 20:15:43 +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 0970028232 Fixed TokenInfo's use of Instrument. 2021-11-08 12:56:07 +00:00
Geoff Taylor e69e60b3ed Refactored MarketOperations and MarketInstructionBuilder. 2021-11-08 12:43:11 +00:00
Geoff Taylor 01e121ad49 Refactored SpotMarketInfo and PerpMarketInfo. 2021-11-08 11:54:50 +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 ffd563e4b2 Fixed some warnings from tests. 2021-11-04 15:55:08 +00:00
Geoff Taylor 05a9f57dcf Removed unused import. 2021-11-04 15:44:17 +00:00
Geoff Taylor 4a24f3df55 Some fixes for health calculations WIP. 2021-11-04 15:36:14 +00:00
Geoff Taylor 95e2496ad3 Updated dependencies. 2021-11-01 19:14:25 +00:00
Geoff Taylor 6e7c2f8ba1 v0.1.10 2021-11-01 19:10:51 +00:00
Geoff Taylor c940cd7bfd Updated ids.json for new markets. 2021-11-01 19:10:23 +00:00
Geoff Taylor a41a63da14 Fixes to allow a perp market with no spot market. 2021-11-01 18:41:31 +00:00
Geoff Taylor b06bf591da Start of work on more user-friendly account valuation. 2021-11-01 16:16:54 +00:00
Geoff Taylor f27358efbb Updated ids.json for new devnet markets. 2021-11-01 14:49:10 +00:00
Geoff Taylor 27c5e676f3 Refactored notifications. 2021-10-28 12:19:18 +01:00
Geoff Taylor feb04c7990 Fixed some dependencies. 2021-10-28 11:54:59 +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 56599a1037 Added OrderBook instead of passing around bids and asks. Added it to ModelState too, and cleaned up usage. 2021-10-26 18:45:04 +01:00
Geoff Taylor c2615218e3 Made more marketmaker Elements work with order 'levels' and take multiple values for different levels. 2021-10-24 16:09:07 +01:00
Geoff Taylor efbc3fb28e Added some debug lines to clarify a canking problem. 2021-10-23 17:40:16 +01:00
Geoff Taylor c17d04152b FixedPositionSizeElement can now take multiple fixed position sizes and properly apply them. 2021-10-23 13:44:30 +01:00
Geoff Taylor d846346fdb Fixed mypy call with no cache (which it kept complaining about). 2021-10-23 13:43:50 +01:00
Geoff Taylor a52b29436c v0.1.9 2021-10-22 15:32:13 +01:00
Geoff Taylor ca1c114371 Updated AfterAccumulatedDepthElement to take depth and adjustment parameters. 2021-10-22 15:31:31 +01:00
Geoff Taylor 25f86ac775 Added documentation for building and packaging releases. 2021-10-22 12:43:35 +01:00
Geoff Taylor fa321b5ea2 v0.1.8 2021-10-21 20:19:29 +01:00
Geoff Taylor e32e5043cf Fixed problem with SOL collateral calculations. 2021-10-21 20:18:57 +01:00
Geoff Taylor 7f300f6ee0 Added more debug information for MinimumChargeElement. 2021-10-21 19:57:01 +01:00
Geoff Taylor a9d204f034 v0.1.7 2021-10-19 18:07:41 +01:00
Geoff Taylor 05a9a24d2d Fixed Pypi publishing action. 2021-10-19 18:04:00 +01:00