-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.py
43 lines (24 loc) · 686 Bytes
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Used for reading in and processing data
import DataPreProcessor as dp
# Library for handling dataframes
import pandas as pd
# Custom classes/libraries
#import graeme as g
#import mushy as m
# import paxton as p
'''
Run predictions for 'best' stocks
'''
def runForecasting():
# holt winters
# Get data frames
nasdaq_df, nyse_df, spac_df, allDf = dp.initializeDf()
# Get top stocks
#mushyStock = m.findBestStock(nasdaq_df)
# TODO: Remove this example
# Show stock graph
dp.showStockGraph('Apple', nasdaq_df)
#TODO: Calculate stock future prediction
#holtWinters.fit(m.getStockDF(stock))
#hltWinters.predict
runForecasting()