Liking cljdoc? Tell your friends :D

antistock.portfolio


amount-of-sharesclj

(amount-of-shares portfolio symbol)

Returns the amount of shares of symbol in portfolio.

Returns the amount of shares of `symbol` in `portfolio`.
raw docstring

apply-ordercljmultimethod

Apply order to portfolio.

Apply `order` to `portfolio`.
raw docstring

buy-sharesclj

(buy-shares portfolio symbol amount price)

Buy amount shares of symbol at price into portfolio.

Buy `amount` shares of `symbol` at `price` into portfolio.
raw docstring

make-portfolioclj

(make-portfolio money)

Make an empty portfolio with money.

Make an empty portfolio with `money`.
raw docstring

Portfolioclj


sell-sharesclj

(sell-shares portfolio symbol amount price)

Sell amount shares of symbol at price into portfolio.

Sell `amount` shares of `symbol` at `price` into portfolio.
raw docstring

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

× close