mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-28 21:12:16 +00:00
* Adding versioning to docs --------- Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com> Co-authored-by: tehcoderer <me@tehcoderer.com>
606 B
Vendored
606 B
Vendored
title, description
| title | description |
|---|---|
| weights | OpenBB SDK Function |
weights
Return sector weightings allocation of ETF. [Source: Yahoo Finance]
Source Code: [link]
openbb.etf.weights(name: str)
Parameters
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| name | str | ETF name | None | False |
Returns
| Type | Description |
|---|---|
| Dict[str, Any] | Dictionary with sector weightings allocation |