Alpaca Live Rejection:
Thought it might be a delisted stock, but confirmed I have the an alpaca securities only filter applied, so it's in alpaca's acceptable securities.
WARNING Alpaca rejected order to buy 1054 FIBBG000J1HC10: asset PLM is not tradable (error code 40010001)
Moonshot Backtest:
HTTPError: ('500 Server Error: INTERNAL SERVER ERROR for url: http://houston/moonshot/backtests.csv?strategies=Strat&start_date=2008-01-01&end_date=2021-01-01&segment=A&no_cache=True', {'status': 'error', 'msg': '('500 Server Error: Internal Server Error for url: [http://houston/realtime/databases](http://houston/realtime/databases/)', {'status': 'error', 'msg': 'an unhandled exception occurred, please check flightlog for the traceback', 'error': '(psycopg2.OperationalError) could not translate host name "postgres" to address: Name or service not known\n\n(Background on this error at: [Error Messages — SQLAlchemy 1.4 Documentation)](Error Messages — SQLAlchemy 1.4 Documentation)/)'})'})
All similar backtests have ran fine. No realtime services being used on my end, just usstock-1d-bundle
. Also re-ran on local & cloud install. Waited overnight to see if it was a temp error, but persisteted into the day.
Detailed Logs:
Jul 16 13:01:34 162.210.108.201 quantrocket.realtime ERROR Traceback (most recent call last):
Jul 16 13:01:34 162.210.108.201 urllib3.connectionpool DEBUG Starting new HTTP connection (1): houston:80 .....
Jul 16 13:01:44 162.210.108.201 quantrocket.realtime ERROR sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not translate host name "postgres" to address: Name or service not known
Jul 16 13:01:44 162.210.108.201 urllib3.connectionpool DEBUG http://houston:80 "GET /version HTTP/1.1" 200 20
Jul 16 13:01:44 162.210.108.201 quantrocket.realtime ERROR
Jul 16 13:01:44 162.210.108.201 urllib3.connectionpool DEBUG http://houston:80 "GET /version HTTP/1.1" 200 20
Jul 16 13:01:44 162.210.108.201 quantrocket.realtime ERROR (Background on this error at: Error Messages — SQLAlchemy 1.4 Documentation)
Jul 16 13:01:44 162.210.108.201 urllib3.connectionpool DEBUG http://houston:80 "GET /version HTTP/1.1" 200 20
Jul 16 13:01:44 162.210.108.201 quantrocket.realtime ERROR
Jul 16 13:01:44 162.210.108.201 urllib3.connectionpool DEBUG http://houston:80 "GET /version HTTP/1.1" 200 20