Fixed Warning Message on Command (#3081)

* Fixed warning

* Added docks

Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
This commit is contained in:
Colin Delahunty
2022-10-27 11:29:40 +02:00
committed by GitHub
parent 7bae873084
commit a690e40ea4
2 changed files with 8 additions and 4 deletions

View File

@@ -395,7 +395,9 @@ def display_acf(
sm.graphics.tsa.plot_acf(np.diff(np.diff(data.values)), lags=lags, ax=ax1)
ax1.set_title(f"{symbol} Returns Auto-Correlation", fontsize=9)
# Diff Partial auto - correlation function for original time series
sm.graphics.tsa.plot_pacf(np.diff(np.diff(data.values)), lags=lags, ax=ax2)
sm.graphics.tsa.plot_pacf(
np.diff(np.diff(data.values)), lags=lags, ax=ax2, method="ywm"
)
ax2.set_title(
f"{symbol} Returns Partial Auto-Correlation",
fontsize=9,
@@ -408,7 +410,9 @@ def display_acf(
fontsize=9,
)
# Diff Diff Partial auto-correlation function for original time series
sm.graphics.tsa.plot_pacf(np.diff(np.diff(data.values)), lags=lags, ax=ax4)
sm.graphics.tsa.plot_pacf(
np.diff(np.diff(data.values)), lags=lags, ax=ax4, method="ywm"
)
ax4.set_title(
f"Change in {symbol} Returns Partial Auto-Correlation",
fontsize=9,

View File

@@ -2262,7 +2262,7 @@ class MainMenu:
return """This is the OpenBB Terminal SDK.
Use the SDK to get data directly into your jupyter notebook or directly use it in your application.
...
For more information see the official documentation at: https://openbb-finance.github.io/OpenBBTerminal/sdk/
For more information see the official documentation at: https://openbb-finance.github.io/OpenBBTerminal/SDK/
"""
@@ -2285,7 +2285,7 @@ class Loader:
return """This is the OpenBB Terminal SDK.
Use the SDK to get data directly into your jupyter notebook or directly use it in your application.
...
For more information see the official documentation at: https://openbb-finance.github.io/OpenBBTerminal/api/
For more information see the official documentation at: https://openbb-finance.github.io/OpenBBTerminal/SDK/
"""
# TODO: Add settings