Liking cljdoc? Tell your friends :D

clj-yfinance.kindly

Optional Kindly-tagged dataset functions for auto-rendering in Clay, Portal, and any Kindly-aware tool.

REQUIRES: Add to your deps.edn aliases: {:kindly {:extra-deps {org.scicloj/kindly {:mvn/version "4-beta23"} techascent/tech.ml.dataset {:mvn/version "7.032"}}}}

Then start your REPL with: clojure -M:kindly:nrepl

USAGE: (require '[clj-yfinance.kindly :as yfk])

;; Returns a TMD dataset tagged with kind/dataset — renders as an ;; interactive table in Clay, Portal, and other Kindly-aware tools (yfk/historical->dataset "AAPL" :period "1mo") (yfk/prices->dataset (yf/fetch-prices ["AAPL" "GOOGL" "MSFT"])) (yfk/multi-ticker->dataset ["AAPL" "GOOGL" "MSFT"] :period "1y") (yfk/dividends-splits->dataset "AAPL" :period "10y") (yfk/info->dataset "AAPL")

Optional Kindly-tagged dataset functions for auto-rendering in Clay, Portal,
and any Kindly-aware tool.

REQUIRES: Add to your deps.edn aliases:
{:kindly {:extra-deps {org.scicloj/kindly {:mvn/version "4-beta23"}
                       techascent/tech.ml.dataset {:mvn/version "7.032"}}}}

Then start your REPL with: clojure -M:kindly:nrepl

USAGE:
(require '[clj-yfinance.kindly :as yfk])

;; Returns a TMD dataset tagged with kind/dataset — renders as an
;; interactive table in Clay, Portal, and other Kindly-aware tools
(yfk/historical->dataset "AAPL" :period "1mo")
(yfk/prices->dataset (yf/fetch-prices ["AAPL" "GOOGL" "MSFT"]))
(yfk/multi-ticker->dataset ["AAPL" "GOOGL" "MSFT"] :period "1y")
(yfk/dividends-splits->dataset "AAPL" :period "10y")
(yfk/info->dataset "AAPL")
raw docstring

dividends-splits->datasetclj

(dividends-splits->dataset ticker & opts)

Like clj-yfinance.dataset/dividends-splits->dataset but returns both datasets tagged with kind/dataset.

Like clj-yfinance.dataset/dividends-splits->dataset but returns both datasets
tagged with kind/dataset.
sourceraw docstring

historical->datasetclj

(historical->dataset ticker & opts)

Like clj-yfinance.dataset/historical->dataset but tagged with kind/dataset for auto-rendering in Kindly-aware tools.

Like clj-yfinance.dataset/historical->dataset but tagged with kind/dataset
for auto-rendering in Kindly-aware tools.
sourceraw docstring

info->datasetclj

(info->dataset ticker)

Like clj-yfinance.dataset/info->dataset but tagged with kind/dataset.

Like clj-yfinance.dataset/info->dataset but tagged with kind/dataset.
sourceraw docstring

multi-ticker->datasetclj

(multi-ticker->dataset tickers & opts)

Like clj-yfinance.dataset/multi-ticker->dataset but tagged with kind/dataset.

Like clj-yfinance.dataset/multi-ticker->dataset but tagged with kind/dataset.
sourceraw docstring

prices->datasetclj

(prices->dataset prices-map)

Like clj-yfinance.dataset/prices->dataset but tagged with kind/dataset.

Like clj-yfinance.dataset/prices->dataset but tagged with kind/dataset.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close