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

Mean reversion #94

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Mean reversion #94

wants to merge 6 commits into from

Conversation

sturlese
Copy link

@sturlese sturlese commented Apr 5, 2019

In case you think it can be interesting to add to pylivetrader, I've created a new backend to paper trade with alpaca not using the Polygon API. It is useful in case you can't get a live trading account.
I've also added an example algo that uses this paper trading backend. It's a long mean reversion algorithm.

You might not be interested it merge the whole code but at least wanted to comunicate the idea that having a paper trading backend for non live trading accounts can be useful for some users.

@ttt733
Copy link
Contributor

ttt733 commented May 10, 2019

Hi @sturlese - I do think it's a good idea to get pylivetrader set up for paper trading without Polygon. However, I'd rather integrate it directly into the Alpaca backend. I'm in the process of migrating it to v2 aggregates for Polygon, and once that's done, I'll look into utilizing some of this code. I'm sure some people will also be interested in running on AWS. I'll leave the PR open for the moment and see if we can simplify the example once paper trading works in the backend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants