Commit Graph

534 Commits

Author SHA1 Message Date
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
Geoff Taylor 59440be137 v0.1.4 2021-10-15 17:37:55 +01:00
Geoff Taylor 69f2fd49d6 Added --hedging-target-balance parameter to marketmaker. 2021-10-15 17:27:09 +01:00
Geoff Taylor 62b8ce8c49 Trying setting secrets directly in on-version-tag workflow. 2021-10-15 16:11:11 +01:00
Geoff Taylor c208cafa5a v0.1.3 2021-10-15 15:32:26 +01:00
Geoff Taylor 92c09a0a1b Fixed perp placement of POST_ONLY_SLIDE orders. 2021-10-15 15:27:03 +01:00
Geoff Taylor 6aa28b0897 Added POST_ONLY_SLIDE order type. 2021-10-15 14:34:32 +01:00
Geoff Taylor 5200add28f Added BiasQuoteElement as possible marketmaker chain element. 2021-10-15 14:21:54 +01:00
Geoff Taylor 7fec0776a9 Fixed github action workflow file suffix. 2021-10-15 12:31:10 +01:00
Geoff Taylor c94eb87de3 Updated github action to push docker image after building. 2021-10-15 12:24:12 +01:00
Geoff Taylor a2d17432b6 Rearranged github action workflows. 2021-10-14 16:54:32 +01:00
Geoff Taylor 9560cb78f7
Specifying python version for packaging action. 2021-10-14 13:14:08 +01:00