Skip to content

Commit

Permalink
Merge pull request #30 from GrupoTuring/fix/windows
Browse files Browse the repository at this point in the history
Remove janelas padrão
  • Loading branch information
lucas-leme committed Oct 21, 2020
2 parents f75755b + 5f1c531 commit a35cfba
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
master_doc = 'index'

# The full version, including alpha/beta/rc tags
release = '0.1.5'
release = '0.1.6'


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name="turingquant",
version="0.1.5",
version="0.1.6",
packages=find_packages(),
install_requires=["pandas", "pandas_datareader", "numpy", "matplotlib", "alpha_vantage", "bs4", "plotly", "yfinance"],

Expand Down
4 changes: 2 additions & 2 deletions turingquant/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def ewma_volatility(close_prices, return_type, window, plot=True):
return ewma_volatility


def garman_klass_volatility(high_prices, low_prices, close_prices, open_prices, window=60, time_scale=1, plot=True):
def garman_klass_volatility(high_prices, low_prices, close_prices, open_prices, window, time_scale=1, plot=True):
"""
Estima a volatilidade a partir dos seguintes preços: alta, baixa, abertura e fechamento
Expand Down Expand Up @@ -284,7 +284,7 @@ def garman_klass_volatility(high_prices, low_prices, close_prices, open_prices,
return garman_klass_vol


def parkinson_volatility(high_prices, low_prices, window=60, time_scale=1, plot=True):
def parkinson_volatility(high_prices, low_prices, window, time_scale=1, plot=True):
"""
Estimando a volatilidade a partir dos preços de Alta e de Baixa
Expand Down

0 comments on commit a35cfba

Please sign in to comment.