alpacahq / pipeline-live

Pipeline Extension for Live Trading
https://pypi.org/project/pipeline-live/
Apache License 2.0
204 stars 56 forks source link

Pull only US equities, not crypto #36

Open vinceperkins opened 2 years ago

vinceperkins commented 2 years ago

I changed the alpaca.py file to pull the only the us_equity asset class instead of us_equity + crypto. This solves an error during runtime in which crypto pairs are interpreted as equities. I'm not sure if this is the best plan of action, but it does allow the package to run again.

If there are better options, let me know.

Thanks, Vincent