Commit Graph

429 Commits

Author SHA1 Message Date
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
Geoff Taylor 511c9dc385 Updated ids.json for SOL-PERP, RAY and COPE markets. 2021-09-20 17:40:59 +01:00
Geoff Taylor f621ff7c8f Updated ids.json for new markets. 2021-09-20 17:17:22 +01:00
Geoff Taylor 3ac729ac5c Updated show-token-balance to work with any wallet address and mint. 2021-09-16 17:40:19 +01:00
Geoff Taylor 43be1fa192 Can now use a separate commitment for fetching the recent blockhash. 2021-09-16 15:36:52 +01:00
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