Building an interactive web app for technical analysis using Streamlit
In this chapter, we have already covered the basics of technical analysis, which can help traders make their decision. However, until now everything was quite static - we downloaded the data, calculated an indicator, plotted it, and in case we wanted to change the asset or the range of dates, we had to repeat all the steps. What if there was a better and more interactive way to approach this challenge?
This is exactly where Streamlit comes into play. Streamlit is an open-source framework (and a company under the same name, similarly to Plotly) that allows us to build interactive web apps using only Python, all within minutes. Below you can find the highlights of Streamlit:
- It is easy to learn and can generate results very quickly
- It is Python only; no front-end experience required
- It allows us to focus purely on the data/ML sides of the app
- We can use Streamlit’s hosting services for our apps
In this recipe...