Geoff Taylor
|
f9b7d7b03f
|
Updated Account layout for v3.3.
|
2022-01-18 14:35:01 +00:00 |
Geoff Taylor
|
ad8f8efd47
|
Updated Group layout for v3.3.
|
2022-01-18 12:09:15 +00:00 |
Geoff Taylor
|
542143975c
|
Changed build_create_account_instructions to use CREATE_MANGO_ACCOUNT instead of INIT_MANGO_ACCOUNT.
|
2022-01-18 11:25:26 +00:00 |
Geoff Taylor
|
cd30355ace
|
Added passive-aggressive logging of time take looking for transaction results.
|
2022-01-15 18:43:14 +00:00 |
Geoff Taylor
|
77cc77eedc
|
Added better logging for cancelling all perp orders.
|
2022-01-15 15:47:14 +00:00 |
Geoff Taylor
|
548945cf17
|
Marketmaker now uses perp's CANCEL_ALL if it's cancelling all orders on a perp market.
|
2022-01-14 18:32:47 +00:00 |
Geoff Taylor
|
a96099511d
|
Added an AlwaysReplaceOrderReconciler.
|
2022-01-14 17:44:07 +00:00 |
Geoff Taylor
|
d0d9fc45c1
|
Changed transaction reporting to run on a threadpool instead of creating a thread each time.
|
2022-01-14 17:36:01 +00:00 |
Geoff Taylor
|
3ef9295c31
|
Added CANCEL_ALL_PERPS instruction and a transaction reporter.
|
2022-01-14 17:18:31 +00:00 |
Geoff Taylor
|
73e422f796
|
Streamlined use of CompoundException.
|
2022-01-12 15:04:03 +00:00 |
Geoff Taylor
|
c670853523
|
Improved symbol comparisons for Instruments, Tokens and Markets.
|
2022-01-12 14:51:30 +00:00 |
Geoff Taylor
|
ced9d209d8
|
Replaced NamedTuples with dataclasses.
|
2022-01-12 14:04:54 +00:00 |
Geoff Taylor
|
4c31d05a13
|
Added description of some health calculation from ckamm in comment.
|
2022-01-11 19:39:25 +00:00 |
Geoff Taylor
|
3695dd20fb
|
Added documentation for common parameters.
|
2022-01-11 19:35:12 +00:00 |
Geoff Taylor
|
5db9dfbd30
|
Another attempt at making Bandit happy.
|
2022-01-11 15:45:28 +00:00 |
Geoff Taylor
|
56cb69fe4d
|
Another attempt at finding the right line to tell Bandit to allow 'pass'.
|
2022-01-11 15:24:36 +00:00 |
Geoff Taylor
|
2d24d6f74e
|
Trying again to get Bandit to accept the false positive.
|
2022-01-11 15:20:15 +00:00 |
Geoff Taylor
|
c07216a224
|
Marked a Bandit B110 false positive to be ignored.
|
2022-01-11 14:58:11 +00:00 |
Geoff Taylor
|
78921bd543
|
Removed assertions from layouts, replaced with Exceptions.
|
2022-01-11 14:53:36 +00:00 |
Geoff Taylor
|
bd35dc7fb4
|
Export TransactionAlreadyProcessedException and StaleSlotException.
|
2022-01-11 14:43:14 +00:00 |
Geoff Taylor
|
d8ffa03491
|
Refactored to use mango.output() consistently instead of print().
|
2022-01-11 14:36:08 +00:00 |
Geoff Taylor
|
6352844ed1
|
Improved perp cranking and added public key sorting tests.
|
2022-01-11 12:24:15 +00:00 |
Geoff Taylor
|
52e9201074
|
Improved sorting of public keys, and added test to make sure our sort order matches Rust's.
|
2022-01-10 14:38:05 +00:00 |
Geoff Taylor
|
627a68a166
|
Found an account where our calculations didn't match reality, so fixed bug and added it to testdata.
|
2022-01-08 17:34:32 +00:00 |
Geoff Taylor
|
70efa5f869
|
Removed include_unsettled_quote parameter in health calculation.
|
2022-01-07 17:40:48 +00:00 |
Geoff Taylor
|
547ba1fe05
|
Added debug log of transaction signature.
|
2022-01-07 17:40:17 +00:00 |
Geoff Taylor
|
d8e61625cf
|
Preliminary use of DataFrame calculations on Accounts.
|
2022-01-06 16:34:18 +00:00 |
Geoff Taylor
|
4a6b899af3
|
Fixed deprecation warning for move of Python's Sequence base class from collections to collections.abc.
|
2021-12-31 11:57:42 +00:00 |
Geoff Taylor
|
277e2534d9
|
Added PERPORDERBOOKSIDE to AccountInfo converters.
|
2021-12-22 20:03:51 +00:00 |
Geoff Taylor
|
eac3e89913
|
Added default stale data retry of 10 with 0.1 second pauses between.
|
2021-12-21 17:11:58 +00:00 |
Geoff Taylor
|
24f4aaf840
|
Added a hedging action threshold to marketmaker.
|
2021-12-21 17:07:48 +00:00 |
Geoff Taylor
|
e644d08f47
|
Fixed some linting issues.
|
2021-12-20 18:09:51 +00:00 |
Ondra Chaloupka
|
5a05c88a17
|
[orderbook][top-bids] fixing top bids processing + reverse reversed bids processing
|
2021-12-20 00:01:05 +01:00 |
Geoff Taylor
|
1858cc21ab
|
Fixed fee calculations in downloaded trades.
|
2021-12-16 17:32:40 +00:00 |
Geoff Taylor
|
c6900afebf
|
Fixed decimal issues with ADA, BNB and AVAX.
|
2021-12-15 18:15:26 +00:00 |
Geoff Taylor
|
76ba4b8c64
|
Automatically fetch a blockhash on replacing BlockhashCache - fixes problem where a KeyError is raised instead of the expected ValueError.
|
2021-12-15 17:22:29 +00:00 |
Geoff Taylor
|
d4c6b4bf2c
|
HTTPErrors now cause a provider switch. Updated CompoundException to work with any Exception, not just a ClientException.
|
2021-12-15 16:36:11 +00:00 |
Geoff Taylor
|
66f996ec47
|
Updated solana.tokenlist.json. Some tokens had symbols changed (why?) so "ETH" pointed to a different mint address. Added overrides.tokenlist.json so we can still use a pure copy of solana.tokenlist.json but can override certain symbols to behave the way we expect.
|
2021-12-15 16:03:31 +00:00 |
Geoff Taylor
|
e0efa927e3
|
Added CompoundClientException to provide more detail when all providers fail.
|
2021-12-15 12:24:23 +00:00 |
Geoff Taylor
|
92f56b5ac3
|
Fixed value of USDC when calculating account valuations.
|
2021-12-15 11:32:22 +00:00 |
Geoff Taylor
|
052dc666ad
|
Checks to make sure response is a dictionary before dereferencing.
|
2021-12-15 09:41:18 +00:00 |
Geoff Taylor
|
ee3bf5894c
|
Reduced group not finding a perp market to a warning instead of raising an exception.
|
2021-12-13 13:56:02 +00:00 |
Geoff Taylor
|
34cbd6370a
|
Downloading trades now tracks change to balance instead of value.
|
2021-12-13 13:49:54 +00:00 |
Geoff Taylor
|
62b0332439
|
Removed Unicode monospaced-font rendering of class names because VSCode has started being annoying about it all. (Boo...)
|
2021-12-13 12:06:42 +00:00 |
Geoff Taylor
|
bc20564e0b
|
Explicitly made loggers protected instead of public.
|
2021-12-13 11:15:24 +00:00 |
Geoff Taylor
|
eedf7fd878
|
Added some debug logging around shifting providers.
|
2021-12-05 19:12:30 +00:00 |
Geoff Taylor
|
23b2d18689
|
Fixed problem rounding lot sizes.
|
2021-12-05 19:07:21 +00:00 |
Geoff Taylor
|
f7273555c8
|
Better handling of BlockhashNotFound exception with multiple providers.
|
2021-12-05 17:57:19 +00:00 |
Geoff Taylor
|
1f32899f32
|
Experimental ability to take multiple cluster URLs and fail over from one to the next on slot errors.
|
2021-12-05 16:38:49 +00:00 |
Geoff Taylor
|
a72d29ca49
|
Extended freshness check to require fresh data after sending a transaction.
|
2021-12-04 17:06:57 +00:00 |