Commit Graph

523 Commits

Author SHA1 Message Date
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
Geoff Taylor 0600450f01 Better debug output of context and arguments. 2021-09-30 08:54:12 +01:00
Geoff Taylor 90dd111c95 Fixed problem calculating top bid. 2021-09-29 18:59:28 +01:00
Geoff Taylor 66e137e726 Fixed bug where PreventPostOnlyCrossingBookElement wouldn't change orders if there wasn't both a top bid and a top ask. 2021-09-29 18:03:25 +01:00
Geoff Taylor 9d030f1af7 Updated Quickstart to request 1 SOL instead of 10 SOL (new devnet airdrop limit). 2021-09-28 10:13:11 +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 71ecc5faef Fixed minimumcharge to correctly handle bids/asks that cross the mid-price. Re-ordered default chain so that minimumcharge is enforced before biasing. 2021-09-22 17:30:29 +01:00
Geoff Taylor aacc318606 Now pass Account to TradeExecutor. 2021-09-21 18:49:51 +01:00
Geoff Taylor 8b1ebc13e8 Fixed problem with watch-minimum-balances spamming notifications. 2021-09-21 16:08:46 +01:00
Geoff Taylor dc7ac7e136 Fixed SOL symbol in SOL-PERP. 2021-09-20 18:02:00 +01:00