init
This commit is contained in:
@@ -139,8 +139,8 @@ class AnalyzerSqlite:
|
||||
changeLine = go.Scatter(x=ymd, y=ichimokucloud_changeLine, name="changeLine", line_color='#000000')
|
||||
baseLine = go.Scatter(x=ymd, y=ichimokucloud_baseLine, name="baseLine", line_color='#FF0000')
|
||||
|
||||
#candle_data = [candle_stick, avg5, avg20, avg60, avg120, avg240, bolinger_upper, bolinger_lower, changeLine, baseLine]
|
||||
candle_data = [candle_stick, bolinger_upper, bolinger_lower, changeLine, baseLine]
|
||||
candle_data = [candle_stick, avg5, avg20, avg60, avg120, avg240, bolinger_upper, bolinger_lower, changeLine, baseLine]
|
||||
#candle_data = [candle_stick, bolinger_upper, bolinger_lower, changeLine, baseLine]
|
||||
|
||||
volume = go.Bar(x=ymd, y=volume, name="volume")
|
||||
volume_data = [volume]
|
||||
@@ -150,7 +150,7 @@ class AnalyzerSqlite:
|
||||
slow_d = go.Scatter(x=ymd, y=stochastic_slow_d, name="Slow%D", line_color='#4169E1')
|
||||
stochastic_data = [slow_k, slow_d]
|
||||
|
||||
fig = subplots.make_subplots(rows=3, cols=1, subplot_titles=('차트', '거래량', 'Stochastic'))
|
||||
fig = subplots.make_subplots(rows=3, cols=1, subplot_titles=('차트', '거래량', 'Stochastic'), row_heights=[1200, 500, 500])
|
||||
|
||||
for trace in candle_data:
|
||||
fig.append_trace(trace, 1, 1)
|
||||
@@ -159,7 +159,7 @@ class AnalyzerSqlite:
|
||||
for trace in stochastic_data:
|
||||
fig.append_trace(trace, 3, 1)
|
||||
|
||||
fig.update_layout(height=1500, xaxis_rangeslider_visible=False)
|
||||
fig.update_layout(height=2200, xaxis_rangeslider_visible=False)
|
||||
|
||||
return fig
|
||||
|
||||
|
||||
Reference in New Issue
Block a user