Commit Graph

519 Commits

Author SHA1 Message Date
Geoff Taylor 47dcfae63d Added base64+zstd as a compression option for encoding. 2021-09-15 20:44:28 +01:00
Geoff Taylor 9f74952444 Added --encoding parameter. 2021-09-15 19:27:07 +01:00
Geoff Taylor 8659ebb6fc Removed some debugging information. 2021-09-14 17:24:22 +01:00
Geoff Taylor 8596a4aa58 Fixed spot fee discount address to use MSRM or SRM vault. 2021-09-13 16:15:20 +01:00
Geoff Taylor 7c17f5cbc4 Added --log-suppress-timestamp parameter. Centralised much CLI argument handling. 2021-09-13 14:05:19 +01:00
Geoff Taylor 4310cc7e2a Brought V2 changes to get_multiple_accounts() across to V3. 2021-09-13 12:17:19 +01:00
Geoff Taylor c02a4260ef Switched random taker oracle to FTX. 2021-09-09 21:41:53 +01:00
Geoff Taylor d1d3910f75 Removed explicit setting of mainnet for price fetching in random taker. 2021-09-09 21:36:40 +01:00
Geoff Taylor 61b135a39d Fixed random taker script. 2021-09-09 21:27:04 +01:00
Geoff Taylor c8724a9974 Updated ids.json. 2021-09-09 21:24:03 +01:00
Geoff Taylor 5aae1f5aab Improved output of instructions when over 1232-byte limit. 2021-09-09 19:02:17 +01:00
Geoff Taylor fe6af5f2b3 Fixed problem with lot size conversion and rounding. 2021-09-09 17:17:23 +01:00
Geoff Taylor 8c42537572 Updated SpotCollateralCalculator to take tokens in OpenOrders into account. 2021-09-09 14:10:34 +01:00
Geoff Taylor bf36c672c0 Updated notebooks. Fixed ones that could be fixed, removed ones that require functionality not in V3. 2021-09-09 09:51:41 +01:00
Geoff Taylor 70a038ffd9 Added a --blockhash-cache-duration parameter. 2021-09-07 21:44:48 +01:00
Geoff Taylor ce25003a2c Added caching to get_recent_blockhash(). 2021-09-07 21:12:37 +01:00
Geoff Taylor e6eaeaeed1 Now use a monotonic time (in milliseconds, with collision avoidance) for client IDs to help with some other systems. 2021-09-07 19:07:22 +01:00
Geoff Taylor 75be37fbd9 Repurposed 'sweep' as a more general 'balance-account' command. Moved 'group-balance-wallet' to just 'balance-wallet' to be similar in concept. 2021-09-07 18:40:34 +01:00
Geoff Taylor b4406a13d9 sweep command now takes a target balance. 2021-09-06 21:38:12 +01:00
Geoff Taylor 0297fda92c Fixed failing FixedSpread tests. 2021-09-06 19:27:40 +01:00
Geoff Taylor 53207d1d98 FTX oracle no longer tries to interfere with PERP market names. 2021-09-06 19:26:45 +01:00
Geoff Taylor 1f5a3cf4bb Fixed typo in OrderChain documentation. 2021-09-06 18:31:58 +01:00
Geoff Taylor 920ac364af Fixed incorrect error message in argument exception. 2021-09-06 18:21:38 +01:00
Geoff Taylor f4af4960d7 Added new OrderChain elements. Removed Serum oracle and added Market oracle (which includes Serum oracle functionality plus more). Expanded chain documentation and added oracle documentation. 2021-09-06 17:07:26 +01:00
Geoff Taylor 2a424aa2d1 Added sweep command to sell all tokens in a market. 2021-09-02 18:51:43 +01:00
Geoff Taylor 8624afabdc Replaced command switch --account-index with --account-address because of inconsistent results when fetching multiple accounts - they could come back with different indices. 2021-09-02 17:19:17 +01:00
Geoff Taylor 71ba03935f Added send_transaction response to debug log. 2021-09-02 15:23:53 +01:00
Geoff Taylor 652296856b Added some logging to head elements of orderchain. 2021-09-02 13:30:53 +01:00
Geoff Taylor 1d4e24ea38 ModelState now tracks current orders on the orderbook directly, rather than using OpenOrders. 2021-09-02 13:11:35 +01:00
Geoff Taylor 39c591fc6f Made order chain more configurable, added MarketmakingOrderChain to docs. 2021-09-02 12:01:41 +01:00
Geoff Taylor d7b36c355c Now uses a fresh ThreadPoolScheduler every time instead of one per Context. 2021-09-02 08:30:06 +01:00
Geoff Taylor 86f7933bcb Fixed problem calculating the proper tick under/over the top orderbook prices. 2021-09-01 18:33:38 +01:00
Geoff Taylor 75d24ff367 Fixed airdrop command in quickstart. 2021-09-01 09:25:33 +01:00
Geoff Taylor 46b02bf3d2 Fixed type in Quickstart. 2021-08-31 19:37:44 +01:00
Geoff Taylor 5053cb387f Changed URL for V3 devnet. 2021-08-31 19:02:50 +01:00
Geoff Taylor 38ff5e2fcd Added context name to Pyth exceptions. 2021-08-31 15:09:58 +01:00
Geoff Taylor dcd1ccce5b show-address can now handle a RootBank. 2021-08-31 14:31:47 +01:00
Geoff Taylor b57ef58d63 Added a RoundToLotSizeElement element to marketmaker chain. 2021-08-31 12:36:23 +01:00
Geoff Taylor befb86bcfb watch-minimum-balances now uses a single websocket for all accounts (again). 2021-08-31 10:55:06 +01:00
Geoff Taylor 9111294f2d Added request/response data to TransactionException. 2021-08-31 10:40:05 +01:00
Geoff Taylor 8bf6384076 Added CollateralCalculator to calculate collateral in different market types. 2021-08-31 00:30:22 +01:00
Geoff Taylor 0f2596a4ce Updated Quickstart with correct faucet address: B87AhxX6BkBsj3hnyHzcerX2WxPoACC7ZyDr8E7H9geN. 2021-08-30 20:21:26 +01:00
Geoff Taylor b3bc928121 Updated README now that V3 code is in main. 2021-08-30 15:52:34 +01:00
Geoff Taylor bf7dc95a9d Merging V3 branch into main. 2021-08-30 15:42:11 +01:00
Geoff Taylor 2206482a93 Better output for cancel-my-orders command. 2021-08-30 13:43:41 +01:00
Geoff Taylor 45d59f4a96 Updated file-age-check to take multiple files. 2021-08-30 12:27:47 +01:00
Geoff Taylor 4dcea1c3fa Fixed problem handling exceptions in marketmaker pulse observable. 2021-08-30 11:41:30 +01:00
Geoff Taylor 126cb4e288 Added airdrop command to interact with faucets. Removed requirement to use Sollet from MarketmakingQuickstart. 2021-08-30 11:33:44 +01:00
Geoff Taylor 1e01791a5e Fixed problem cleaning up on marketmaker starting and stopping. 2021-08-28 18:57:41 +01:00
Geoff Taylor 97c83518bb Updated Marketmaker Quickstart to allow running docker as root or non-root. 2021-08-28 18:13:48 +01:00