Commit Graph

23 Commits

Author SHA1 Message Date
Geoff Taylor 790f379867 Removed use of abs() to get a Decimal absolute value - now use the copy_abs() method instead. 2022-03-09 12:02:18 +00:00
Geoff Taylor 89e45e936e Now use fully_qualified_symbol for markets in most places, so Serum and Spot markets can be differentiated. 2022-03-03 18:36:46 +00:00
Geoff Taylor c0c0acfb49 Ensured consistent abstract methods/properties decorators on abstract classes. 2022-02-27 17:52:59 +00:00
Geoff Taylor 5bd2a9d0e1 Simplified Order, with with_update() and from_values() methods instead of litany of other mechanisms. 2022-02-25 11:46:43 +00:00
Geoff Taylor 906b419fc6 OrderBook can now provide expired orders, if requested. 2022-02-22 12:06:20 +00:00
Geoff Taylor 5c3b0befa9 Switched from autopep8 to black for code formatting. Reformatted all files. Updated dependencies. 2022-02-09 19:31:50 +00:00
Geoff Taylor 672542697b Added --hedging-pulse-pause-count parameter to marketmaker to making the hedger pause after placing a trade. 2022-01-24 16:31:01 +00:00
Geoff Taylor 0be350a134 Can now specify a different 'hedging' interval in the marketmaker. 2022-01-21 17:53:25 +00:00
Geoff Taylor c670853523 Improved symbol comparisons for Instruments, Tokens and Markets. 2022-01-12 14:51:30 +00:00
Geoff Taylor 24f4aaf840 Added a hedging action threshold to marketmaker. 2021-12-21 17:07:48 +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 a72d29ca49 Extended freshness check to require fresh data after sending a transaction. 2021-12-04 17:06:57 +00:00
Geoff Taylor 1f865285c1 Trying a new approach to tackle stale data coming back from the RPC server. 2021-12-04 13:56:16 +00:00
Geoff Taylor c35988773d Added more detail to hedge order logging. 2021-12-01 16:28:27 +00:00
Geoff Taylor 89dea788d3 PerpToSpotHedger now fetches fresh data to check for position changes. 2021-11-22 16:40:35 +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 69f2fd49d6 Added --hedging-target-balance parameter to marketmaker. 2021-10-15 17:27:09 +01:00
Geoff Taylor 64817c739a Improved perp-to-spot hedging, added documentation on hedging. 2021-10-06 15:39:41 +01:00
Geoff Taylor 26aabd23e9 Simplified and improved marketmaker hedging. 2021-10-02 12:28:16 +01:00