mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-30 05:52:23 +00:00
Update README.md
This commit is contained in:
@@ -8,8 +8,12 @@ This menu aims to optimize a portfolio of pre-loaded stocks, and the usage of th
|
||||
* overwrite current tickers with new tickers
|
||||
* [equal](#equal)
|
||||
* equally weighted
|
||||
* [mktcap](#mktcap)
|
||||
* weighted according to market cap (property marketCap)
|
||||
* [dividend](#dividend)
|
||||
* weighted according to dividend yield (property dividendYield)
|
||||
* [property](#property)
|
||||
* weight according to selected info property (e.g. marketCap)
|
||||
* weight according to selected info property
|
||||
|
||||
[Mean Variance Optimization](#Mean_Variance_Optimization)
|
||||
|
||||
@@ -63,6 +67,34 @@ Returns an equally weighted portfolio
|
||||

|
||||
|
||||
|
||||
### mktcap <a name="mktcap"></a>
|
||||
|
||||
```text
|
||||
property -p marketCap [-v VALUE] [--pie]
|
||||
```
|
||||
|
||||
Returns a portfolio that is weighted based on market cap info
|
||||
|
||||
* -v : If provided, this represents an actual allocation amount for the portfolio. Defaults to 1, which just returns the weights.
|
||||
* --pie : Display a pie chart for weights
|
||||
|
||||

|
||||
|
||||
|
||||
### dividend <a name="dividend"></a>
|
||||
|
||||
```text
|
||||
property -p dividend [-v VALUE] [--pie]
|
||||
```
|
||||
|
||||
Returns a portfolio that is weighted based on dividend yield info
|
||||
|
||||
* -v : If provided, this represents an actual allocation amount for the portfolio. Defaults to 1, which just returns the weights.
|
||||
* --pie : Display a pie chart for weights
|
||||
|
||||
<img width="990" alt="Captura de ecrã 2021-04-16, às 22 11 41" src="https://user-images.githubusercontent.com/25267873/115084405-c5a9fb80-9f00-11eb-8feb-a5076fab9896.png">
|
||||
|
||||
|
||||
### property <a name="property"></a>
|
||||
|
||||
```text
|
||||
|
||||
Reference in New Issue
Block a user