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

ARM based installation #184

Open
bwees opened this issue Aug 11, 2020 · 5 comments
Open

ARM based installation #184

bwees opened this issue Aug 11, 2020 · 5 comments

Comments

@bwees
Copy link

bwees commented Aug 11, 2020

I am setting up a raspberry pi to run my algorithms on. I am creating my own Docker Image for the raspberry pi that is based on the provided dockerfiles. I am having issues with the pip install with the error:

numpy.distutils.system_info.NotFoundError: No lapack/blas resources found.

If anyone has successfully made a docker image for ARM, please let me know

Thnaks

@shlomiku
Copy link
Contributor

sounds cool, do update us if you find a solution

@bwees bwees closed this as completed Sep 25, 2020
@bwees bwees reopened this Sep 26, 2020
@bwees
Copy link
Author

bwees commented Sep 26, 2020

I have successfully created and ARM-based docker image of pylivetrader. If you would like to use, run the following:
docker pull bwees/pylivetrader:latest

Caveats include:

  • Python 3.7 vs 3.6
  • Pipeline-Live is not installed due to the need for compiling zipline
  • Pandas 0.23 is used because 0.22 is not compiled in 3.7 and the only need for 0.22 is because of zipline

@shlomiku
Copy link
Contributor

I will keep this issue open if it interests other users.

@shlomiku
Copy link
Contributor

out of curiosity - what are some of the advantages you could point out, running pylivetrader on a raspberry pi?

@bwees
Copy link
Author

bwees commented Sep 26, 2020

The Raspberry Pi is super low powered so you can run small to medium sized algorithms without having to use a larger desktop or server. The performance is nowhere near a modern day x86 computer but, for most server and number crunching tasks, it performs adequately.

I personally have 2 Raspberry Pi 3B+ (Originally 4 running BOINC COVID research) in a Docker Swarm configuration so it has both failover and distributed workload capabilities. Pylivetrader runs in tandem with some other services on the cluster such as network-wide ad-blocking and a VPN server. I have tested my algorithm which uses about 35 Tech Indicators for decisions and it can process decisions for 25-30 stocks every minute. The main reason I use it is the fact that its not a desktop sucking a large amount of power from the wall and being noisy. The Raspberry Pi is only $35 so it makes it perfect for server applications.

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

No branches or pull requests

2 participants