init
This commit is contained in:
@@ -733,6 +733,7 @@ class AnalyzerSqlite:
|
|||||||
decomposition_results = seasonal_decompose(close_temp, model='multiplicative', period=size)
|
decomposition_results = seasonal_decompose(close_temp, model='multiplicative', period=size)
|
||||||
trend = decomposition_results.trend[:-pos]
|
trend = decomposition_results.trend[:-pos]
|
||||||
trend_df = pd.DataFrame(trend).fillna(close_list[0])
|
trend_df = pd.DataFrame(trend).fillna(close_list[0])
|
||||||
|
trend_list = trend_df.values.tolist()
|
||||||
|
|
||||||
sorted_stock = sorted(stock["PRICE"], key=lambda x: x['ymd'], reverse=True)
|
sorted_stock = sorted(stock["PRICE"], key=lambda x: x['ymd'], reverse=True)
|
||||||
for price in sorted_stock:
|
for price in sorted_stock:
|
||||||
|
|||||||
Reference in New Issue
Block a user