StrategyStats

Library for common strategy signals generation.

StrategyStats.filterminmaxMethod

Filters and sorts a list of pairs using a predicate function.

filterminmax(
    pred::Function,
    pairs::AbstractDict,
    min_v::Real,
    max_v::Real
) -> Vector{Tuple{AbstractFloat, Data.PairData}}

This function takes a list of pairs and a predicate function. It filters the list by applying the predicate function to each pair and keeping only those pairs for which the function returns a Real number. The function then sorts the filtered list based on the returned Real numbers.

StrategyStats.fltsummaryMethod

Generates a summary of a vector of tuples containing Floats and PairData.

fltsummary(
    flt::AbstractVector{Tuple{AbstractFloat, Data.PairData}}
) -> Any

This function takes a vector flt of tuples, where each tuple contains an AbstractFloat and a PairData. It generates a summary of flt, providing insights into the characteristics of the Floats and PairData in the vector.