Geoff Taylor
ec37c14d03
Added ensure-account and ensure-open-orders commands.
2021-08-19 11:00:39 +01:00
Geoff Taylor
f8ce3d52e0
Updated to new ids.json.
2021-08-19 09:49:57 +01:00
Geoff Taylor
a96b67e729
Improved transaction exception reporting.
2021-08-19 09:46:54 +01:00
Geoff Taylor
a51b38049b
Marketmaker no longer masks errors.
2021-08-18 14:49:54 +01:00
Geoff Taylor
2bf4d07592
cancel-order can now take an --ok-if-missing parameter, and use it if the underlying market-type supports it.
2021-08-18 12:23:20 +01:00
Geoff Taylor
2f6983cd7f
Fixed account use in withdraw command.
2021-08-17 20:46:11 +01:00
Geoff Taylor
334412f183
show-account-balances now outputs None for accounts that have no deposits.
2021-08-17 20:45:48 +01:00
Geoff Taylor
4c544cb68c
Fixed TransactionException not properly interpreting error responses.
2021-08-17 20:45:26 +01:00
Geoff Taylor
9462c7e6a1
Removed unused tokens from setup-devnet-account script.
2021-08-17 20:05:09 +01:00
Geoff Taylor
97a5c41a39
Updated to latest group structures and IDs.
2021-08-17 19:42:11 +01:00
Geoff Taylor
847628dfd6
Fixed problem with TokenAccount commitments.
2021-08-17 19:17:09 +01:00
Geoff Taylor
aad71929ae
Fixed send-token to pass proper TxOpt options.
2021-08-17 18:11:43 +01:00
Geoff Taylor
b408874a2a
Fixed TokenAccount to be able to find or create the associated token account, or use an old-style account if it exists and the associated token account doesn't.
2021-08-17 17:52:17 +01:00
Geoff Taylor
6a61b55e93
Improved transaction exception handling.
2021-08-17 12:50:27 +01:00
Geoff Taylor
d5eaa385da
Removed rx.core.typing for many classes - using the actual base classes now.
2021-08-17 12:39:55 +01:00
Geoff Taylor
a4ca18e5ed
Added/centralised 'watchers'. Removed FileToucherObserver. Added HealthCheck.
2021-08-17 12:17:49 +01:00
Geoff Taylor
bd36dcf47b
Improved cranking and settling operations.
2021-08-16 14:43:44 +01:00
Geoff Taylor
84b664b4fd
Fixed problem with instruction display.
2021-08-14 11:09:27 +01:00
Geoff Taylor
255d3a70df
Added a mint command for devnet use.
2021-08-13 21:34:17 +01:00
Geoff Taylor
140270b870
Fixed text output of liquidate event.
2021-08-13 20:20:03 +01:00
Geoff Taylor
97bd857418
Updated to handle new event queue format.
2021-08-13 20:17:17 +01:00
Geoff Taylor
3403555036
Added account name/info to output.
2021-08-13 12:15:17 +01:00
Geoff Taylor
080bdde053
Updated ids.json for group devnet.1
2021-08-12 19:32:41 +01:00
Geoff Taylor
aa1b0adc5c
Updated file-age-check to work with seconds instead of minutes.
2021-08-12 18:36:36 +01:00
Geoff Taylor
6c4232aa34
Added MNGO token to tokenlist.
2021-08-12 12:18:52 +01:00
Geoff Taylor
162f41e2d0
Added a redeem-mango command.
2021-08-11 19:14:26 +01:00
Geoff Taylor
7c6d1d43cf
Added some marketmaker documentation (it's also up on Mango's Gitbook).
2021-08-10 14:29:26 +01:00
Geoff Taylor
94c6fa149e
Sometimes Solana returns 'err' as a string instead of an array of strings.
2021-08-09 21:07:21 +01:00
Geoff Taylor
3880cdb6ae
Added name parameters to script commands.
2021-08-09 16:39:40 +01:00
Geoff Taylor
9bd75dc8d2
Websocket now has a force_reconnect() method, plus subscribable disconnect event.
2021-08-09 13:24:33 +01:00
Geoff Taylor
b297db217c
Moved group-balances to show-account-balances, and expanded it to show all balances in all accounts.
2021-08-09 11:56:01 +01:00
Geoff Taylor
4483db480b
Added account state to hedger startup.
2021-08-09 11:35:02 +01:00
Geoff Taylor
9b6f33d7e6
Added --name parameter to programs and context to allow better reporting of errors.
2021-08-09 10:27:47 +01:00
Geoff Taylor
aa4406d68f
Fixed account output/reporting.
2021-08-07 18:42:39 +01:00
Geoff Taylor
f596d571f6
Big change - now uses our own 'Client' which handles some situations better from our point of view:
...
* Being able to specify commitment on the Client instead of every call.
* Better error handling (more exception details, and specific rate limiting exceptions)
* More obvious return values, instead of always having to dereference "result".
2021-08-07 15:07:19 +01:00
Geoff Taylor
613d964051
Perp Accounts accrue benefits in MNGO so improved handling of it.
2021-08-05 15:35:08 +01:00
Geoff Taylor
88d4cb119a
Updated some figures for devnet account setup script.
2021-08-04 20:19:34 +01:00
Geoff Taylor
7033a080bf
Better logging of failing instructions.
2021-08-04 17:50:38 +01:00
Geoff Taylor
cc6f62c312
Expanded use of Group and Account baskets.
2021-08-04 13:08:34 +01:00
Geoff Taylor
f4af201d3e
Fixed cranking use of openorders accounts in marketmaker.
2021-08-03 19:51:25 +01:00
Geoff Taylor
d5f8e1d7da
Turning off running marketmaking using individual transactions.
2021-08-03 18:44:05 +01:00
Geoff Taylor
88fa2181d2
Change Group to use a more basket-orientated approach instead of multiple properties requiring indexes.
2021-08-03 18:32:12 +01:00
Geoff Taylor
c90ff010d3
Improved how accounts handle their basket of tokens.
2021-08-03 12:40:00 +01:00
Geoff Taylor
1b87591ae7
Improved context handling of skip_preflight.
2021-08-03 09:14:22 +01:00
Geoff Taylor
0bcf5cfc5a
Improved market output.
2021-08-03 09:13:56 +01:00
Geoff Taylor
2840f52fde
Fixed stub oracle price now the server stub oracle has been updated.
2021-08-03 09:08:47 +01:00
Geoff Taylor
7e7c21c0aa
Marketmaker no longer tries to run instructions in parallel. (I hope this is a temporary fix.)
2021-08-02 17:48:20 +01:00
Geoff Taylor
6f86e83160
Simplified watching. Added inventory watchers.
2021-08-02 17:14:00 +01:00
Geoff Taylor
18935be67e
Fixed spot market crank.
2021-08-02 17:13:50 +01:00
Geoff Taylor
ed3955cc1f
Fixed some type hints.
2021-08-01 18:03:46 +01:00