Commit Graph

532 Commits

Author SHA1 Message Date
Geoff Taylor d20bd7b9c5 Publishing package 0.1.2 2021-10-14 12:17:52 +01:00
Geoff Taylor 9a293dd4b4
Start of a github action to publish to docker and pypi 2021-10-14 12:17:18 +01:00
Geoff Taylor 9cc25a7f2e Added flake8 as dev dependency. 2021-10-14 12:01:52 +01:00
Geoff Taylor f3f2c141b3 Another attempt at getting agreement on date timezones in github action. 2021-10-14 11:58:45 +01:00
Geoff Taylor eb356f42cd Dates loaded from Mango datafiles are always UTC. 2021-10-14 11:55:45 +01:00
Geoff Taylor a1f850c341 Fixed UTC issue in test. 2021-10-14 11:49:07 +01:00
Geoff Taylor 5b8c67d786 Improved Makefile and Github Action to validate project. 2021-10-14 11:30:42 +01:00
Geoff Taylor 8256de9747
Moving mypy check in github action 2021-10-14 11:21:49 +01:00
Geoff Taylor 84367fb797
Last change didn't save... 2021-10-14 11:17:24 +01:00
Geoff Taylor 97de934e7f
Trying to run mypy install types against current directory 2021-10-14 11:16:01 +01:00
Geoff Taylor f9de6dea5d
Manually running mypy in github action 2021-10-14 11:13:21 +01:00
Geoff Taylor fa6cdd8d94
Installing dependencies in github action 2021-10-14 10:56:28 +01:00
Geoff Taylor c0142067d4
Trying to get github action to use venv 2021-10-14 10:47:30 +01:00
Geoff Taylor 46f7b47036
Fixed syntax error in github action file 2021-10-14 10:35:38 +01:00
Geoff Taylor 26ff5490a3
Trying a different github action to install poetry 2021-10-14 10:33:51 +01:00
Geoff Taylor 604e0491ca
Configured github action to install poetry 2021-10-14 10:17:08 +01:00
Geoff Taylor 8b1df1e238
Added github action to validate checkin 2021-10-14 10:13:09 +01:00
Geoff Taylor b46d6bd0d2 Added QuoteSingleSideElement for marketmaker. 2021-10-14 09:42:09 +01:00
Geoff Taylor c6a9069f77 Fixed devnet ETH mint address. 2021-10-13 19:34:02 +01:00
Geoff Taylor 22952d9ffb Now call PLACE_SPOT_ORDER_2 instead of PLACE_SPOT_ORDER. 2021-10-13 18:42:15 +01:00
Geoff Taylor d8835cfa62 Fixed some settings for venv. 2021-10-13 18:42:02 +01:00
Geoff Taylor 6bdafd8805 Fixed warning on possibly-missing fee discount address. 2021-10-12 15:58:52 +01:00
Geoff Taylor 66221616c0 v0.1.1 2021-10-12 15:47:29 +01:00
Geoff Taylor 5cdb3ab9a7
Merge pull request #7 from nathan7432/main
specify encoding as utf-8 when reading json files
2021-10-12 15:37:21 +01:00
Nathan Pirhalla ad9dd78c1a specify encoding as utf-8 2021-10-12 09:53:54 -04:00
Geoff Taylor f6f1f0bc1a Added devnet MSRM details. Fixed passing of MSRM vault if it's being used. 2021-10-12 11:22:32 +01:00
Nathan Pirhalla fe6c208607 fix error when opening json file 2021-10-11 14:39:03 -04:00
Geoff Taylor 3587ce1b26 Made mango-explorer a pip-installable package. 2021-10-11 17:08:54 +01:00
Geoff Taylor defbfd8c89 Cleaned up OrderChain Element construction. 2021-10-08 19:55:38 +01:00
Geoff Taylor 8257902003 Removed use of pyston in commands. 2021-10-08 18:15:40 +01:00
Geoff Taylor 67be3f5944 Merge branch 'main' of https://github.com/blockworks-foundation/mango-explorer into main 2021-10-08 17:53:33 +01:00
Geoff Taylor 067df8d86a
Merge pull request #5 from kronael/main
Update Dockerfile to new Solana version 1.8.0
2021-10-08 17:53:00 +01:00
Geoff Taylor 1e3ed32fe4 Fixed data file handling to allow Nuitka compilation. 2021-10-08 17:30:20 +01:00
Geoff Taylor 9be532714f Fixed problem with send-token command if address wasn't root wallet. 2021-10-08 17:29:06 +01:00
kronael 2b37e3e361
Update Dockerfile to new Solana version 1.8.0 2021-10-08 05:15:15 +02:00
Geoff Taylor 747e9e2006 Updated ids.json with usable public node. Added code to find ids.json in different possible locations. 2021-10-07 17:05:43 +01:00
Geoff Taylor 64817c739a Improved perp-to-spot hedging, added documentation on hedging. 2021-10-06 15:39:41 +01:00
Geoff Taylor 19f6a79d52 Added ability of ratios and minimumcharge elements to work with bid+ask instead of mid price. 2021-10-05 20:43:56 +01:00
Geoff Taylor 930aaef449 Updated RootBank output rounding (only applies to display). 2021-10-05 11:21:13 +01:00
Geoff Taylor a02f8f54aa Added simple RootBank parsing tests. 2021-10-05 10:47:41 +01:00
Geoff Taylor 3ccca8bd01 Start of work on account calculations. 2021-10-04 18:27:07 +01:00
Geoff Taylor 26aabd23e9 Simplified and improved marketmaker hedging. 2021-10-02 12:28:16 +01:00
Geoff Taylor 2f11f99b18 Improved some exception messages and handling. 2021-10-01 14:51:39 +01:00
Geoff Taylor 6306e1e65a Improved model state and marketoperations. Some work on hedging. 2021-09-30 18:53:33 +01:00
Geoff Taylor 5c0fc63151 Fixed exception message. 2021-09-30 14:21:58 +01:00
Geoff Taylor 1d38327d88 Trying to clean up exception details in logging by re-using the raised transaction on BlockhashNotFound. 2021-09-30 14:04:31 +01:00
Geoff Taylor 0fcd5924d8 Made exceptions more detailed and consistent. 2021-09-30 12:08:01 +01:00
Geoff Taylor 4310a91c4b Debug logging now outputs the version details. 2021-09-30 11:54:43 +01:00
Geoff Taylor 59936b08d5 Added distinctness to fetching blockhashes, if caching. 2021-09-30 11:23:33 +01:00
Geoff Taylor 68e31dbfcb Added BlockhashNotFoundException and NodeIsBehindException to make it easier for client code to shift behaviour when these situations arise. 2021-09-30 10:48:55 +01:00