Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

create a template for how to create a new trading strategy #494

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nikhilsaraf
Copy link
Contributor

@nikhilsaraf nikhilsaraf commented Aug 29, 2020

  • factory.go: entry point that kicks off your trading strategy

  • templateNewStrategy.go: constructs objects needed by your level provider

  • templateNewLevelProvider.go: this is where the business logic of your trading strategy lives. This is called for every bot update to get your orders for that update.


This is not intended to be merged into the main codebase but is an example for developers who want to create their own trading strategies

This is an outcome of #453.

factory.go - entry point that kicks off your trading strategy

templateNewStrategy.go - constructs objects needed by your level provider

templateNewLevelProvider.go - this is where the business logic of your trading strategy lives. This is called for every bot update to get your orders for that update.
@nikhilsaraf nikhilsaraf mentioned this pull request Oct 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant