Load
usage: load [-f {}] [-n NAME] [-r RISK_FREE_RATE] [-h]
-Load your portfolio
-optional arguments:
+
+optional arguments:
-f {}, --file {}
The file to be loaded (default: None)
-n NAME, --name NAME The name that you wish to give to your portfolio (default: None)
@@ -29668,7 +29667,29 @@ optional arguments: -f {}, --file {} The file to be loaded (default: None) -n NA
Set the risk free rate. (default: 0)
-h, --help show this help message (default: False)
-Example:
+Load your portfolio for analysis.
+This command works by taking in a list of trades you have made and constructs the resulting portfolio from them. It can accept either an Excel or CSV file with this information. Each row in the file should have the following information:
+Required:
+-
+
- Date - The date the trade occurred +
- Name - The name of the security +
- Type - The type of the security. Use
Cash/Stock/Crypto/ETFas appropriate
+ - Price - The price the security was added or removed at, on a per-unit basis +
- Quantity - How much of the security in question was added or removed +
- Side - Whether or not you bought or sold. Use
Buy/Deposit/1to add to the portfolio orSell/Withdrawal/0to remove from the portfolio
+
Optional:
+-
+
- Investment - Total value of the investment, less any fees. Calculated dynamically as price * quantity by the terminal +
- Fees - Any fees paid as part of the transaction +
- Premium - Any premiums received or paid +
- Quantity - How much of the security in question was added or removed +
- Currency - The currency the transaction was made in +
- Sector - The sector of the security. Required for
alloccommands
+ - Industry - The industry of the security. Required for
alloccommands
+ - Country - The country of the security. Required for
alloccommands
+
Example:
2022 May 13, 05:00 (๐ฆ) /portfolio/ $ load Public_Equity_Orderbook.xlsx
Portfolio: Public_Equity_Orderbook.xlsx