Skip to content

Commit

Permalink
test: Update benchmarks (#380)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeDongGeon1996 authored May 4, 2024
1 parent 8a550f7 commit bd24d59
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions benchmarks/test_benchmark_indicators.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ def test_benchmark_alma(benchmark, quotes):
def test_benchmark_aroon(benchmark, quotes):
benchmark(indicators.get_aroon, quotes)

def test_benchmark_atr_stop(benchmark, quotes):
benchmark(indicators.get_atr_stop, quotes)

def test_benchmark_atr(benchmark, quotes):
benchmark(indicators.get_atr, quotes)

Expand Down Expand Up @@ -46,6 +49,9 @@ def test_benchmark_chop(benchmark, quotes):
def test_benchmark_cmf(benchmark, quotes):
benchmark(indicators.get_cmf, quotes)

def test_benchmark_cmo(benchmark, quotes):
benchmark(indicators.get_cmo, quotes, 14)

def test_benchmark_connors_rsi(benchmark, quotes):
benchmark(indicators.get_connors_rsi, quotes)

Expand All @@ -64,6 +70,9 @@ def test_benchmark_dema(benchmark, quotes):
def test_benchmark_dpo(benchmark, quotes):
benchmark(indicators.get_dpo, quotes, 14)

def test_benchmark_dynamic(benchmark, quotes):
benchmark(indicators.get_dynamic, quotes, 14)

def test_benchmark_elder_ray(benchmark, quotes):
benchmark(indicators.get_elder_ray, quotes)

Expand Down

0 comments on commit bd24d59

Please sign in to comment.