Files
OpenBB/website/versioned_docs/version-v3/sdk/reference/etf/weights.md
Theodore Aptekarev f72bc8ccec Add Versioned Documentation (#5470)
* Adding versioning to docs

---------

Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
Co-authored-by: tehcoderer <me@tehcoderer.com>
2023-09-29 11:49:05 +02:00

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