top of page

Honest Board: Trade updates


Want to read more?

Subscribe to davidwoounbound.com to keep reading this exclusive post.

315 views2 comments

Recent Posts

See All

2 comentarios


Viv Ban
30 abr 2022

The action replay chart is super cool. How did you make it?

Me gusta
john
30 abr 2022
Contestando a

Glad you like it. It is a gif created using the animate package in matplotlib. https://matplotlib.org/stable/api/animation_api.html


Some examples of how to do it here: https://towardsdatascience.com/learn-how-to-create-animated-graphs-in-python-fce780421afe


In short, you create a matplotlib figure, and then create a function which plots something on that figure for a list of inputs (generally just integers that loop through a table of data, in this case 15 minute prices). The FuncAnimation function runs through those inputs and plots them in turn, and then this can be saved as a gif.


As always there are some things that can go wrong, such as that if you are using jupyter, you need to be in notebook mode in order to see the animation in the browser, but…

Me gusta

Subscribers please log in to view the content

bottom of page