MCPcopy Create free account
hub / github.com/lazyprogrammer/machine_learning_examples / get_data

Function get_data

tf2.0/keras_trader.py:31–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29
30# Let's use AAPL (Apple), MSI (Motorola), SBUX (Starbucks)
31def get_data():
32 # returns a T x 3 list of stock prices
33 # each row is a different stock
34 # 0 = AAPL
35 # 1 = MSI
36 # 2 = SBUX
37 df = pd.read_csv('aapl_msi_sbux.csv')
38 return df.values
39
40
41

Callers 1

keras_trader.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected