mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-14 13:21:05 +00:00
linters
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
__docformat__ = "numpy"
|
||||
|
||||
import logging
|
||||
|
||||
import numpy as np
|
||||
import pandas as pd
|
||||
import pandas_ta as ta
|
||||
@@ -199,12 +200,11 @@ def rvol(
|
||||
if upper_q > 1:
|
||||
upper_q = upper_q / 100
|
||||
|
||||
lower_q_label = str((int(lower_q * 100)))
|
||||
upper_q_label = str((int(upper_q * 100)))
|
||||
lower_q_label = str(int(lower_q * 100))
|
||||
upper_q_label = str(int(upper_q * 100))
|
||||
rvol_cones: pd.DataFrame = pd.DataFrame()
|
||||
quantiles = [lower_q, upper_q]
|
||||
windows = [3, 10, 30, 60, 90, 120, 150, 180, 210, 240, 300, 360]
|
||||
data = data
|
||||
min_ = []
|
||||
max_ = []
|
||||
median = []
|
||||
|
||||
@@ -407,8 +407,8 @@ def display_rvol(
|
||||
"""
|
||||
|
||||
df_ta = volatility_model.rvol(data, lower_q=lower_q, upper_q=upper_q)
|
||||
lower_q_label = str((int(lower_q * 100)))
|
||||
upper_q_label = str((int(upper_q * 100)))
|
||||
lower_q_label = str(int(lower_q * 100))
|
||||
upper_q_label = str(int(upper_q * 100))
|
||||
|
||||
plt.figure(figsize=[14, 7])
|
||||
plt.autoscale(enable=True, axis="both", tight=True)
|
||||
|
||||
Reference in New Issue
Block a user