alpacahq / Momentum-Trading-Example

An example algorithm for a momentum-based day trading strategy.
656 stars 218 forks source link

ERROR:root:error while consuming ws messages: macd() got an unexpected keyword argument 'n_fast' #36

Closed msf2105 closed 3 years ago

msf2105 commented 3 years ago

I am getting this error while the stock market is open and during the 45 minute window at the beginning of the day. It populates every few minutes or so. I cannot seem to find any information about this error. Does anyone have any ideas on what this could be? Is this an API issue?

ubuntu@stocktradingproject:~/Momentum-Trading-Example$ python3 algo.py Getting current ticker data... Success. Tracking 51 symbols. Getting historical data... 1/51 Success. Watching 51 symbols. ERROR:root:error while consuming ws messages: macd() got an unexpected keyword argument 'n_fast' ERROR:root:error while consuming ws messages: macd() got an unexpected keyword argument 'n_fast' ERROR:root:error while consuming ws messages: macd() got an unexpected keyword argument 'n_fast' ERROR:root:error while consuming ws messages: macd() got an unexpected keyword argument 'n_fast' ERROR:root:error while consuming ws messages: macd() got an unexpected keyword argument 'n_fast' ERROR:root:error while consuming ws messages: macd() got an unexpected keyword argument 'n_fast' ERROR:root:error while consuming ws messages: macd() got an unexpected keyword argument 'n_fast' ERROR:root:error while consuming ws messages: macd() got an unexpected keyword argument 'n_fast' ERROR:root:error while consuming ws messages: macd() got an unexpected keyword argument 'n_fast' ERROR:root:error while consuming ws messages: macd() got an unexpected keyword argument 'n_fast' ERROR:root:error while consuming ws messages: macd() got an unexpected keyword argument 'n_fast' ERROR:root:error while consuming ws messages: macd() got an unexpected keyword argument 'n_fast' ERROR:root:error while consuming ws messages: macd() got an unexpected keyword argument 'n_fast' ERROR:root:error while consuming ws messages: macd() got an unexpected keyword argument 'n_fast' ERROR:root:error while consuming ws messages: macd() got an unexpected keyword argument 'n_fast' ERROR:root:error while consuming ws messages: macd() got an unexpected keyword argument 'n_fast' ERROR:root:error while consuming ws messages: macd() got an unexpected keyword argument 'n_fast'