Geoff Taylor
393ff6a899
Added unit tests for slot accessors in Group and Account.
2021-11-10 17:46:54 +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
3ccca8bd01
Start of work on account calculations.
2021-10-04 18:27:07 +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
bf7dc95a9d
Merging V3 branch into main.
2021-08-30 15:42:11 +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
5b71ffbd18
Big Rename - removal of old Group and MarginAccount, deletion of a lot of code that is no longer relevant.
...
* Added some TODO comments where work needs to be done but pieces are currently missing.
2021-06-25 15:50:37 +01:00
Geoff Taylor
16cb68ad4c
Fixed bug in balancing wallet.
...
* Mixed use of 'symbol' in different contexts.
2021-06-08 14:38:28 +01:00
Geoff Taylor
5e59d8a7e3
Moved library code to .py files instead of notebooks.
...
* This is a big change that touched most files in the project.
* Library code is now an actual package, in /mango.
* Pure .py files used for shared code - easier to edit/debug, and should ease move to installable package later.
* Removed many notebooks. The remaining notebooks are useful 'display'/'show' notebooks for investigating Mango objects.
* More tests! The test story is now much improved, but more unit tests are still needed.
* There's now a Makefile for project operations.
2021-06-07 15:10:18 +01:00