Permalink
Browse files

fix bb data

  • Loading branch information...
shads2 committed May 28, 2018
1 parent 2d50ee2 commit ba3e031ba9f06045edfc793b2bf5c3ad34f71e3b
Showing with 3 additions and 3 deletions.
  1. +1 −1 README.md
  2. +2 −2 app/analyzers/informants/bollinger_bands.py
View
@@ -39,7 +39,7 @@ The commands listed below are intended to be run in a terminal.
1. Create a config.yml file in your current directory. See the Configuring config.yml section below for customizing settings.
1. In a terminal run the application. `docker run --rm -v $(pwd)/config.yml:/app/config.yml shadowreaver/crypto-signal:master`.
1. In a terminal run the application. `docker run --rm -v $PWD/config.yml:/app/config.yml shadowreaver/crypto-signal:master`.
1. When you want to update the application run `docker pull shadowreaver/crypto-signal:master`
@@ -45,9 +45,9 @@ def analyze(self, historical_data, period_count=21):
for index in range(period_count, bb_df_size):
data_index = index - period_count
bb_values['upperband'][index] = bb_data[0][data_index]
bb_values['lowerband'][index] = bb_data[0][data_index]
bb_values['middleband'][index] = bb_data[1][data_index]
bb_values['lowerband'][index] = bb_data[2][data_index]
bb_values['upperband'][index] = bb_data[2][data_index]
bb_values.dropna(how='all', inplace=True)

0 comments on commit ba3e031

Please sign in to comment.