samplealgo01
samplealgo01 copied to clipboard
Sample algo
I use the latest version of alpaca-trade-api (I have seen issue #12 and #15), it runs fine in local machine while still get error on Heroku 2019-08-13T17:27:46.655181+00:00 app[worker.1]: File "main.py",...
I got this Traceback (most recent call last): File "algo.py", line 373, in today = datetime.today().astimezone(nyc) ValueError: astimezone() cannot be applied to a naive datetime
I had to make these mods to samplealgo/algo.py to get it to work as described in the README: ```import alpaca_trade_api as tradeapi import pandas as pd import time import logging...
File "/app/samplealgo/algo.py", line 50, in _get_prices 2019-01-31T17:02:13.116398+00:00 app[worker.1]: return barset.df 2019-01-31T17:02:13.116402+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.6/site-packages/alpaca_trade_api/entity.py", line 102, in df 2019-01-31T17:02:13.116581+00:00 app[worker.1]: df = bars.df.copy() 2019-01-31T17:02:13.116585+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.6/site-packages/alpaca_trade_api/entity.py", line 84, in...
It looks to be example code crashes on Heroku: ``` 2019-03-06T20:30:30.039522+00:00 heroku[worker.1]: Starting process with command `python main.py` 2019-03-06T20:30:30.599893+00:00 heroku[worker.1]: State changed from starting to up 2019-03-06T20:30:34.456532+00:00 app[worker.1]: INFO:root:start running...
- Add an easy to use test booklet for running Btest] resolve #14
Are there any documentations or tutorials for running btest.py
Hi Alpaca team I love to use the platform and try the tutorial and want to use paper trading api I already follow the tutorials replace the key id and...
https://github.com/alpacahq/samplealgo01#cutomization Not important...just an FYI
For background I am coming over from quantopian and do more engineering calculations than coding. The tutorial would benefit from discussing how to setup the system environment first - maybe...