Skip to content

Commit

Permalink
Run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
femtotrader committed Nov 8, 2024
1 parent 8aed930 commit 61b6519
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/indicators/SOBV.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ mutable struct SOBV{Tohlcv,IN,S} <: TechnicalIndicatorSingleOutput{Tohlcv}

sub_indicators::Series
obv::OBV
obv_ma::SMA
obv_ma::MovingAverageIndicator

input_modifier::Function
input_filter::Function
Expand Down
2 changes: 1 addition & 1 deletion src/other/iterators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@ function Iterators.reset!(itr::TechnicalIndicatorIterator)
itr.indicator_type{eltype(itr.iterable_input)}(itr.args...; itr.kwargs...)
end

Base.length(itr::TechnicalIndicatorIterator) = length(itr.input_iterator)
Base.length(itr::TechnicalIndicatorIterator{T,I}) where {T, I} = length(itr.iterable_input)
18 changes: 9 additions & 9 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@ end


@testset "OnlineTechnicalIndicators.jl" begin
#include("test_ohlcv.jl")

#@testset "indicators" begin
# include("test_indicators_interface.jl")
# include("test_ind_single_input_single_output.jl") # SISO
# include("test_ind_single_input_several_outputs.jl") # SIMO
# include("test_ind_OHLCV_input_single_output.jl") # MISO
# include("test_ind_OHLCV_input_several_outputs.jl") # MIMO
#end
include("test_ohlcv.jl")

@testset "indicators" begin
include("test_indicators_interface.jl")
include("test_ind_single_input_single_output.jl") # SISO
include("test_ind_single_input_several_outputs.jl") # SIMO
include("test_ind_OHLCV_input_single_output.jl") # MISO
include("test_ind_OHLCV_input_several_outputs.jl") # MIMO
end

include("test_resample.jl")

Expand Down

0 comments on commit 61b6519

Please sign in to comment.