Today we are making a mini supercomputer! Not really, but sort-of, we are building a 4-node raspberry pi cluster. On this cluster we will be installing a scheduler called SLURM, although it may be overkill for a personal cluster.
For quants – quantitative financial analysts – the SLURM implementation will be the most useful. With SLURM we can schedule, run, and control scripts to run across our compute nodes. We will setup a network file system (NFS) that can be shared across our cluster, this is installed on the master node.
In this tutorial, our aim is to install python on all nodes of the cluster with numpy, and create and run bash scripts that can run python scripts with different arguments. We will roughly be following three tutorials from Garrett Mills on Medium for installation on SLURM and enabling parallel computing using openMPI.
Full code available on my website: https://asxportfolio.com/quantproject...
Building a raspberry pi cluster (Garrett Mills, 2018): / building-a-raspberry-pi-cluster
Link to Simulating Geometric Brownian Motion code: https://asxportfolio.com/options-stoc...
★ ★ QuantPy GitHub ★ ★
Collection of resources used on QuantPy YouTube channel. https://github.com/thequantpy
★ ★ Discord Community ★ ★
Join a small niche community of like-minded quants on discord. / discord
★ ★ Support our Patreon Community ★ ★
Get access to Jupyter Notebooks that can run in the browser without downloading python.
/ quantpy
★ ★ ThetaData API ★ ★
ThetaData's API provides both realtime and historical options data for end-of-day, and intraday trades and quotes. Use coupon 'QPY1' to receive 20% off on your first month.
https://www.thetadata.net/
★ ★ Online Quant Tutorials ★ ★
WEBSITE: https://quantpy.com.au
★ ★ Contact Us ★ ★
EMAIL: pythonforquants@gmail.com
Disclaimer: All ideas, opinions, recommendations and/or forecasts, expressed or implied in this content, are for informational and educational purposes only and should not be construed as financial product advice or an inducement or instruction to invest, trade, and/or speculate in the markets. Any action or refraining from action; investments, trades, and/or speculations made in light of the ideas, opinions, and/or forecasts, expressed or implied in this content, are committed at your own risk an consequence, financial or otherwise. As an affiliate of ThetaData, QuantPy Pty Ltd is compensated for any purchases made through the link provided in this description.
コメント