Skip to content

Backtest a moving average stock trading strategy, given stock symbol, initial capital, and time periods.

License

Notifications You must be signed in to change notification settings

ak-foster/alphaProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alphaProject

Functionality:

Backtest a moving average stock trading strategy, given stock symbol, initial capital, and time periods.

Instructions:

To run your own backtesting on a trading strategy, modify movingAvgCross.py to define a trading strategy class or modify the MovingAverageCrossoverStrategy class for your own purposes. Then define the test period and run-- your portfolio values and trade signals will be plotted on a chart and strategy performance calculated.

About

Backtest a moving average stock trading strategy, given stock symbol, initial capital, and time periods.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages