Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify new strategy additions #1

Open
skynetcap opened this issue Jun 15, 2023 · 0 comments
Open

Simplify new strategy additions #1

skynetcap opened this issue Jun 15, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@skynetcap
Copy link
Owner

skynetcap commented Jun 15, 2023

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
@skynetcap skynetcap added the enhancement New feature or request label Jun 15, 2023
@skynetcap skynetcap self-assigned this Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant