Liking cljdoc? Tell your friends :D

clojure-backtesting.automation


actioncljmacro

(action act)

Similar to clojure.core/defn, but saves the function's definition in the var's :source meta-data.

Similar to clojure.core/defn, but saves the function's definition in the var's
:source meta-data.
sourceraw docstring

auto-counterclj

source

automated-conditionsclj

source

cancel-automationclj

(cancel-automation num)

This function removes an automation from the list.

This function removes an automation from the list.
sourceraw docstring

check-automationclj

(check-automation)

This function is ought to be called before next-date and end-date.

This function is ought to be called before next-date and end-date.
sourceraw docstring

conditioncljmacro

(condition act)

Similar to clojure.core/defn, but saves the function's definition in the var's :source meta-data.

Similar to clojure.core/defn, but saves the function's definition in the var's
:source meta-data.
sourceraw docstring

dispatch-historyclj

source

reset-automationclj

(reset-automation)
source

set-automationclj

(set-automation condition
                order-function
                &
                {:keys [max-dispatch expiration]
                 :or {max-dispatch nil expiration nil}})

Registers condition, a no-argument function checked at the end of every trading day, and order-function, run when it returns true. Returns an integer id for cancel-automation. :max-dispatch caps how many times it can run; :expiration is the number of trading days after today it stays active. Both default to unlimited.

Registers `condition`, a no-argument function checked at the end of every
trading day, and `order-function`, run when it returns true. Returns an
integer id for cancel-automation. `:max-dispatch` caps how many times it
can run; `:expiration` is the number of trading days after today it
stays active. Both default to unlimited.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close