Create template for project 6
This commit is contained in:
18
manual_strategy/TheoreticallyOptimalStrategy.py
Normal file
18
manual_strategy/TheoreticallyOptimalStrategy.py
Normal file
@@ -0,0 +1,18 @@
|
||||
import pandas as pd
|
||||
import datetime as dt
|
||||
from util import get_data, plot_data
|
||||
|
||||
|
||||
def author():
|
||||
return "felixm"
|
||||
|
||||
|
||||
def main():
|
||||
start_date = dt.datetime(2008, 1, 1)
|
||||
end_date = dt.datetime(2009, 12, 31)
|
||||
prices = get_data(['JPM'], pd.date_range(start_date, end_date))
|
||||
print(prices)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
5
manual_strategy/indicators.py
Normal file
5
manual_strategy/indicators.py
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
|
||||
|
||||
def author():
|
||||
return "felixm"
|
||||
3
manual_strategy/marketsimcode.py
Normal file
3
manual_strategy/marketsimcode.py
Normal file
@@ -0,0 +1,3 @@
|
||||
|
||||
def author():
|
||||
return "felixm"
|
||||
Reference in New Issue
Block a user