grahamcrowell / PortfolioBackTester

0 stars 0 forks source link

Develop data model #1

Closed grahamcrowell closed 7 years ago

grahamcrowell commented 7 years ago

tables, relationships dims, facts

Dim.Stock Fact.StockPrice

grahamcrowell commented 7 years ago

Java library for downloading stock data: com.yahoofinance-api has method: getHistory(start, interval)

it returns a collection of instances:

INTC@2017-04-28: 35.880001-36.490002, 36.099998->36.150002 (36.150002)

grahamcrowell commented 7 years ago

data can only be inserted when inserted at same time a schema creation...

need to learn DBIO

Slick Database IO Actions

dustinl8 commented 7 years ago

WIHandle connections - looking into streaming data. Not sure if the answer