Functions to more easily create various complex orders.
Functions to more easily create various complex orders.
(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`.
(equity-limit-order instruction quantity symbol price)
(equity-limit-order instruction quantity symbol price duration session)
Creates a limit order.
Creates a limit order.
(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.
(equity-stop-base-order instruction quantity symbol stop-price duration session)
(equity-stop-limit-order instruction quantity symbol stop-price price)
(equity-stop-limit-order instruction
quantity
symbol
stop-price
price
duration
session)
(equity-stop-market-order instruction quantity symbol stop-price)
(equity-stop-market-order instruction
quantity
symbol
stop-price
duration
session)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close