Simplify new strategy additions
Opened this issue · 0 comments
skynetcap commented
In the current strategies, the following components are manually coded side-by-side with busines logic: ExecutorService
, RpcClient
, PythPricingSource
, SerumManager
and other re-used structures. Each strategy also has specific implementations for sending orders, and reading private keys.
Create a new standard that greatly simplifies adding a new class/strategy, such that the following inputs go into a strategy:
- Market ID
- Business logic for the market