ExPostFacto.Output (ex_post_facto v0.2.1)

View Source

The output is what is returned from the backtest function.

Summary

Functions

Creates a new output struct.

Functions

new(data, strategy, result)

@spec new(
  data :: [ExPostFacto.DataPoint.t()],
  strategy :: ExPostFacto.module_function_arguments(),
  result :: ExPostFacto.Result.t()
) :: %ExPostFacto.Output{data: term(), result: term(), strategy: term()}

Creates a new output struct.