Apply order
via broker
to portfolio
.
Apply `order` via `broker` to `portfolio`.
(buy-shares broker portfolio symbol amount price)
Buy amount
shares of symbol
at price
into portfolio.
Buy `amount` shares of `symbol` at `price` into portfolio.
(charge-transaction broker portfolio)
Subtract the broker's transaction fee from portfolio
.
Subtract the broker's transaction fee from `portfolio`.
(sell-shares broker portfolio symbol amount price)
Sell amount
shares of symbol
at price
into portfolio.
Sell `amount` shares of `symbol` at `price` into portfolio.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close