Geoff Taylor
|
88cb2fcdd4
|
Refactored Group and Account to remove requirement for Group to load all Root Banks.
|
2021-11-11 11:56:29 +00:00 |
Geoff Taylor
|
393ff6a899
|
Added unit tests for slot accessors in Group and Account.
|
2021-11-10 17:46:54 +00:00 |
Geoff Taylor
|
3f4ec995f0
|
Group and Account slots now contain their own matching indices.
|
2021-11-09 21:08:06 +00:00 |
Geoff Taylor
|
01cfae7fa4
|
Fixed problems with redeem-mango
|
2021-11-09 19:54:50 +00:00 |
Geoff Taylor
|
d15e953ae7
|
Refactor of code to work with mypy --strict
|
2021-11-09 13:23:36 +00:00 |
Geoff Taylor
|
199c39130d
|
Moved to having Instrument as a basis for Token, to allow for perp markets with no underlying SPL token.
|
2021-11-08 11:39:09 +00:00 |
Geoff Taylor
|
ffd563e4b2
|
Fixed some warnings from tests.
|
2021-11-04 15:55:08 +00:00 |
Geoff Taylor
|
05a9f57dcf
|
Removed unused import.
|
2021-11-04 15:44:17 +00:00 |
Geoff Taylor
|
4a24f3df55
|
Some fixes for health calculations WIP.
|
2021-11-04 15:36:14 +00:00 |
Geoff Taylor
|
a41a63da14
|
Fixes to allow a perp market with no spot market.
|
2021-11-01 18:41:31 +00:00 |
Geoff Taylor
|
27c5e676f3
|
Refactored notifications.
|
2021-10-28 12:19:18 +01:00 |
Geoff Taylor
|
56599a1037
|
Added OrderBook instead of passing around bids and asks. Added it to ModelState too, and cleaned up usage.
|
2021-10-26 18:45:04 +01:00 |
Geoff Taylor
|
c2615218e3
|
Made more marketmaker Elements work with order 'levels' and take multiple values for different levels.
|
2021-10-24 16:09:07 +01:00 |
Geoff Taylor
|
c17d04152b
|
FixedPositionSizeElement can now take multiple fixed position sizes and properly apply them.
|
2021-10-23 13:44:30 +01:00 |
Geoff Taylor
|
ca1c114371
|
Updated AfterAccumulatedDepthElement to take depth and adjustment parameters.
|
2021-10-22 15:31:31 +01:00 |
Geoff Taylor
|
7f300f6ee0
|
Added more debug information for MinimumChargeElement.
|
2021-10-21 19:57:01 +01:00 |
Geoff Taylor
|
84173b65c9
|
Added some basic IDL parsing so code can expand log messages with events.
|
2021-10-15 20:37:43 +01:00 |
Geoff Taylor
|
5200add28f
|
Added BiasQuoteElement as possible marketmaker chain element.
|
2021-10-15 14:21:54 +01:00 |
Geoff Taylor
|
f3f2c141b3
|
Another attempt at getting agreement on date timezones in github action.
|
2021-10-14 11:58:45 +01:00 |
Geoff Taylor
|
a1f850c341
|
Fixed UTC issue in test.
|
2021-10-14 11:49:07 +01:00 |
Geoff Taylor
|
b46d6bd0d2
|
Added QuoteSingleSideElement for marketmaker.
|
2021-10-14 09:42:09 +01: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
|
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
|
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
|
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
|
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
|
43be1fa192
|
Can now use a separate commitment for fetching the recent blockhash.
|
2021-09-16 15:36:52 +01:00 |
Geoff Taylor
|
9f74952444
|
Added --encoding parameter.
|
2021-09-15 19:27:07 +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
|
fe6af5f2b3
|
Fixed problem with lot size conversion and rounding.
|
2021-09-09 17:17:23 +01:00 |
Geoff Taylor
|
70a038ffd9
|
Added a --blockhash-cache-duration parameter.
|
2021-09-07 21:44:48 +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
|
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
|
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
|
86f7933bcb
|
Fixed problem calculating the proper tick under/over the top orderbook prices.
|
2021-09-01 18:33:38 +01:00 |
Geoff Taylor
|
bf7dc95a9d
|
Merging V3 branch into main.
|
2021-08-30 15:42:11 +01:00 |
Geoff Taylor
|
9159d615c4
|
Updated dependencies and fixed subsequent issues.
|
2021-08-27 20:37:23 +01:00 |
Geoff Taylor
|
352f4ea65f
|
Removed percentage target balances because of the unexpected frequent rebalancing they could cause.
|
2021-08-26 16:29:00 +01:00 |
Geoff Taylor
|
03f385043b
|
Backported BetterClient from V3 and prefer its return values to the regular Client's.
|
2021-08-26 15:48:25 +01:00 |
Geoff Taylor
|
20672e17d1
|
Marketmaker now automatically redeems MNGO on pulse.
|
2021-08-26 14:01:57 +01:00 |
Geoff Taylor
|
261848f325
|
Big renaming of Context properties to make them more consistent and appropriate.
|
2021-08-26 10:31:02 +01:00 |
Geoff Taylor
|
6baa336c34
|
Fixed failing test.
|
2021-08-25 20:57:43 +01:00 |
Geoff Taylor
|
d151e0ce8f
|
Updated to latest devnet ids.json. Fixed some context configuration problems.
|
2021-08-25 17:06:00 +01:00 |
Geoff Taylor
|
fc1957d9b2
|
Added bias tests.
|
2021-08-23 17:35:09 +01:00 |