Liking cljdoc? Tell your friends :D

clj-tda.orders

Functions to more easily create various complex orders.

Functions to more easily create various complex orders.
raw docstring

durationsclj

source

equity-base-orderclj

(equity-base-order instruction quantity symbol duration session)

Creates a basic equity order with most fields filled in. This is the root construction function for equity orders. You probably don't want to use this. Instead, see equity-market-order, equity-limit-order, equity-stop-order, and equity-stop-limit-order.

Creates a basic equity order with most fields filled in. This is the
root construction function for equity orders. You probably don't
want to use this. Instead, see `equity-market-order`,
`equity-limit-order`, `equity-stop-order`, and
`equity-stop-limit-order`.
sourceraw docstring

equity-limit-orderclj

(equity-limit-order instruction quantity symbol price)
(equity-limit-order instruction quantity symbol price duration session)

Creates a limit order.

Creates a limit order.
sourceraw docstring

equity-market-orderclj

(equity-market-order instruction quantity symbol)
(equity-market-order instruction quantity symbol duration)

Creates a map that corresponds to a TDA equity market order. Note that this must be convert to JSON before communicating it to the TDA API. The order is for symbol. Note that market orders are only applicable during the normal session.

Creates a map that corresponds to a TDA equity market order. Note
that this must be convert to JSON before communicating it to the TDA
API. The order is for `symbol`. Note that market orders are only
applicable during the normal session.
sourceraw docstring

equity-stop-base-orderclj

(equity-stop-base-order instruction quantity symbol stop-price duration session)
source

equity-stop-limit-orderclj

(equity-stop-limit-order instruction quantity symbol stop-price price)
(equity-stop-limit-order instruction
                         quantity
                         symbol
                         stop-price
                         price
                         duration
                         session)
source

equity-stop-market-orderclj

(equity-stop-market-order instruction quantity symbol stop-price)
(equity-stop-market-order instruction
                          quantity
                          symbol
                          stop-price
                          duration
                          session)
source

first-triggers-rest-orderclj

(first-triggers-rest-order order1 & orders)
source

instructionsclj

source

kw->jsonclj

(kw->json kw)
source

oco-orderclj

(oco-order & orders)
source

sessionsclj

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close