~/bend-docscommunity

src/core/transform.bend checks

raw source on the hub · import bend-ta@0.1.0.0/src/core/transform.bend as Transform

2 imports
import Base
import ./bar.bend as Bar

Types

type Operands source · line 4 · raw

@-N:Data -> Data

Templates

template binary source · line 7 · raw

@-N:Data -> @-operation:(@_:N -> @_:N -> N) -> @inputs:Operands<N> -> N

template divided source · line 12 · raw

@-N:Data -> @-div:(@_:N -> @_:N -> N) -> @numerator:N -> @denominator:N -> @fallback:N -> @use_fallback:Bool -> N

template bop source · line 17 · raw

@-N:Data -> @-from_u32:(@_:U32 -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-le:(@_:N -> @_:N -> Bool) -> @bar:0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.OHLC<N> -> N

template ibs source · line 27 · raw

@-N:Data -> @-from_u32:(@_:U32 -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-le:(@_:N -> @_:N -> Bool) -> @bar:0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.HLC<N> -> N

template marketfi source · line 36 · raw

@-N:Data -> @-from_u32:(@_:U32 -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-eq:(@_:N -> @_:N -> Bool) -> @bar:0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.HLV<N> -> N

template avgprice source · line 45 · raw

@-N:Data -> @-from_u32:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @bar:0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.OHLC<N> -> N

template medprice source · line 50 · raw

@-N:Data -> @-from_u32:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @bar:0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.HL<N> -> N

template typprice source · line 55 · raw

@-N:Data -> @-from_u32:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @bar:0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.HLC<N> -> N

template wclprice source · line 60 · raw

@-N:Data -> @-from_u32:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @bar:0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.HLC<N> -> N

template cumulative source · line 65 · raw

@-N:Data -> @-add:(@_:N -> @_:N -> N) -> @total:N -> @value:N -> Pair(N, Maybe<&2, N>)