top of page

Moving Average Strategy                        in Python

Publish Date

Sara Huang 4/9/2020

This page provide the Moving Average Strategy application in python. Demonstrate in Atom editor.

Python File

Screen Shot 2020-04-09 at 11.21.29 AM.pn
Screen Shot 2020-04-09 at 11.21.04 AM.pn
Screen Shot 2020-04-09 at 11.21.18 AM.pn

Example.

input data: 元大台灣50​ daily return; 2017.5.7 - 2019.5.8 (data from TEJ)

output      : [35.7424] 5 8


 

 

Figure_1.png

WHAT I BELIEVE

“Motivation is what gets you started. Habit is what keeps you going” 

—  Jim Rohn

© 2020 by Sara Huang. Proudly created with Wix.com

bottom of page