alpacahq / alpacahq/pymarketstore

Import Data from Alpaca-py

Open
#78 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
112
Forks
41
PR merge metrics
No merged PRs in 30d

Description

How you can import data from Alpaca-py ? I don't understand how you can convert the output from alpaca-py and input it to marketstore

```
stock_request = StockBarsRequest(
symbol_or_symbols=["SPY"],
timeframe=TimeFrame.Minute,
start=datetime.strptime("2022-12-30", '%Y-%m-%d')
)

bars = stock_client.get_stock_bars(stock_request)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.