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")(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.
(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.
(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.
(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.
(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |