(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.
(cancel-automation num)This function removes an automation from the list.
This function removes an automation from the list.
(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.
(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.
(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |