Skip to content

Commit

Permalink
Removed unnecessary line from BollingerEventStudy.
Browse files Browse the repository at this point in the history
  • Loading branch information
Emsu committed Nov 26, 2014
1 parent 2fd57aa commit db53c48
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions docs/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,6 @@ At this point we need one more generator. We will call this one BollingerEventSt
name = "events"
def run(self, data, symbols, start, end, lookback, **kwargs):
if not end:
end = dt.datetime.now()
bollinger_data = data['bollinger']
# Add an extra timestamp before close_data.index to be able
Expand Down
4 changes: 0 additions & 4 deletions examples/tutorial/eventstudy.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import pandas as pd
import datetime as dt

from prophet.orders import Orders
from prophet.data import DataGenerator
Expand All @@ -9,9 +8,6 @@ class BollingerEventStudy(DataGenerator):
name = "events"

def run(self, data, symbols, start, end, lookback, **kwargs):
if not end:
end = dt.datetime.now()

bollinger_data = data['bollinger']

# Add an extra timestamp before close_data.index to be able
Expand Down

0 comments on commit db53c48

Please sign in to comment.