remove filtering from analyze that is super slow and not really needed
This commit is contained in:
parent
6f5307fda7
commit
f6ef8383bb
@ -24,7 +24,7 @@ def parse_ticker_dataframe(ticker: list, minimum_date: arrow.Arrow) -> DataFrame
|
|||||||
.drop('BV', 1) \
|
.drop('BV', 1) \
|
||||||
.rename(columns={'C':'close', 'V':'volume', 'O':'open', 'H':'high', 'L':'low', 'T':'date'}) \
|
.rename(columns={'C':'close', 'V':'volume', 'O':'open', 'H':'high', 'L':'low', 'T':'date'}) \
|
||||||
.sort_values('date')
|
.sort_values('date')
|
||||||
return df[df['date'].map(arrow.get) > minimum_date]
|
return df
|
||||||
|
|
||||||
|
|
||||||
def populate_indicators(dataframe: DataFrame) -> DataFrame:
|
def populate_indicators(dataframe: DataFrame) -> DataFrame:
|
||||||
|
Loading…
Reference in New Issue
Block a user