Analytics Vidhya
Published in

Analytics Vidhya

Predicting Cryptocurrency Prices using Facebook Prophet

Or how to deploy a Forecasting Web Application using Python, Streamlit & Heroku

Photo by Nick Chong on Unsplash

Building the Streamlit Crypto Forecaster

$pip install pandas 
$pip install streamlit
$pip install plotly
$pip install cryptocmd
$pip install pystan
$pip install fbprophet

The Data

The Graphs

Streamlit app overview with current price data & time series plot

Facebook Prophet

Deployment on Heroku

Required Files

mkdir -p ~/.streamlit/echo “\
[server]\n\
port = $PORT\n\
enableCORS = false\n\
headless = true\n\
\n\
“ > ~/.streamlit/config.toml
web: sh setup.sh && streamlit run streamlit_crypto_forecaster.py

Heroku

Heroku deployment overview, connect with Github as deployment method
Connect with your Github repository path & deploy your app!
Prediction for the next 365 days using Facebook Prophet

Final Note

--

--

Analytics Vidhya is a community of Analytics and Data Science professionals. We are building the next-gen data science ecosystem https://www.analyticsvidhya.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Michael Tuijp

I’m a Data Scientist and enthusiast of leveraging the latest tools in Data Science, Engineering & DevOps to improve processes, businesses & our lives overall!