init
This commit is contained in:
@@ -735,7 +735,7 @@ class AnalyzerSqlite:
|
||||
trend_df = pd.DataFrame(trend).fillna(close_list[0])
|
||||
trend_list = trend_df.values.tolist()
|
||||
for i, price in enumerate(stock['PRICE']):
|
||||
price[i]['trend'] = trend_list[i]
|
||||
price['trend'] = trend_list[i][0]
|
||||
|
||||
sorted_stock = sorted(stock["PRICE"], key=lambda x: x['ymd'], reverse=True)
|
||||
for price in sorted_stock:
|
||||
|
||||
Reference in New Issue
Block a user