Commit Graph

695 Commits

Author SHA1 Message Date
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
Geoff Taylor 6411cf9822 Added show-transaction-logs to show logs and decode mango-log entries if necessary. 2021-10-19 17:56:11 +01:00
Geoff Taylor 6bbf30d271 Added NodeBank to accountconverter so show-address will work with it. 2021-10-19 17:55:47 +01:00
Geoff Taylor 57b7e4e99c Cleaned up call to PLACE_SPOT_ORDER_2 using fee discount address. 2021-10-19 14:17:55 +01:00
Geoff Taylor 4bcabbffa6 Fixed problem with importing mango package preventing successful running of logging.basicConfig() after. 2021-10-19 12:28:54 +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 c2fbb8554d v0.1.6 2021-10-18 11:23:35 +01:00
Geoff Taylor 6b7614dc98 Fixed problem with PATH variable in Dockerfile. 2021-10-18 11:23:01 +01:00
Geoff Taylor 7f3071eb29 Action workflows now define the secrets they need to be passed. 2021-10-16 13:09:37 +01:00
Geoff Taylor 91cd86a6af v0.1.5 2021-10-16 12:53:34 +01:00
Geoff Taylor c7090bfb95 Fixed UTC timezone issue in PerpMarketDetails. 2021-10-16 12:50:10 +01:00
Geoff Taylor 84173b65c9 Added some basic IDL parsing so code can expand log messages with events. 2021-10-15 20:37:43 +01:00
Geoff Taylor 566dc47812 Trying again to get automatic publish on new version. 2021-10-15 17:45:22 +01:00