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

Is there a way to config the position size of each trade> #76

Closed
beasthenry opened this issue May 25, 2020 · 1 comment · Fixed by #47
Closed

Is there a way to config the position size of each trade> #76

beasthenry opened this issue May 25, 2020 · 1 comment · Fixed by #47
Labels
duplicate This issue or pull request already exists

Comments

@beasthenry
Copy link

beasthenry commented May 25, 2020

Expected Behavior


def next(self):
        if crossover(self.ema1, self.ema12):
           self.buy(position=40%)
        elif crossover(self.ema12, self.ema1):
            self.sell(position=30%)
@sdmovie
Copy link

sdmovie commented May 25, 2020

it's in developing --refer to branch order -- would expect to see in 0.2.0

@kernc kernc added the duplicate This issue or pull request already exists label Jul 13, 2020
@kernc kernc closed this as completed in #47 Jul 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants