Finance: Simple trading strategy, python ver. 1

Last Updated on March 30, 2022 by shibatau

I. What shall we learn?

We’ll learn how to calculate profits for a simple trading strategy 10-day and 50-day moving averages. You can see the scripts and explanations here:

https://medium.com/the-handbook-of-coding-in-finance/building-a-simple-trading-strategy-in-python-trend-following-727cafecb78c

I have add some explanations and plots for beginners.

II. Outline

Let me show you what we will do.

III. Scripts

You can see all the scripts here:

https://colab.research.google.com/drive/1HiMcJKN0gZR3_G2ic6lyLsqTJDW4OWjU?usp=sharing

Not finished yet.

About shibatau

I was born and grown up in Kyoto. I studied western philosophy at the University and specialized in analytic philosophy, especially Ludwig Wittgenstein at the postgraduate school. I'm interested in new technology, especially machine learning and have been learning R language for two years and began to learn Python last summer. Listening toParamore, Sia, Amazarashi and MIyuki Nakajima. Favorite movies I've recently seen: "FREEHELD". Favorite actors and actresses: Anthony Hopkins, Denzel Washington, Ellen Page, Meryl Streep, Mia Wasikowska and Robert DeNiro. Favorite books: Fyodor Mikhailovich Dostoyevsky, "The Karamazov Brothers", Shinran, "Lamentations of Divergences". Favorite phrase: Salvation by Faith. Twitter: @shibatau

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.