Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import Data from Alpaca-py #78

Open
christrt9 opened this issue Jan 11, 2023 · 0 comments
Open

Import Data from Alpaca-py #78

christrt9 opened this issue Jan 11, 2023 · 0 comments

Comments

@christrt9
Copy link

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant