Description Usage Arguments Details Value Examples
Function executions a sell trade
1 2 |
pobj |
portfolio object |
id |
holding id to sell |
date |
date of transaction. Date type |
quantity |
number of shares. numeric type |
price |
price of shares. numeric type |
desc |
trade description. string type |
trans_cost |
transaction cost (dollars per share) |
add trade amount to cash balance, updates portfolio internal trade history and holdings
updated portfolio object
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.