Description Usage Arguments Details Value Examples
Function executions a buy trade
1 2 |
pobj |
portfolio object |
date |
date of transaction. Date type |
symbol |
symbol ticker. character 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) |
subtracts trade amount from cash balance, updates portfolio internal trade history and holdings
updated portfolio object
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.