Description Usage Arguments Value
View source: R/trade-helpers.R
Updates portfolio with trade pair provided
1 | execute_trade_pair(buy, sell, pobj, prices, amount, lot_size = 1)
|
buy |
buy symbol to buy |
sell |
sell symbol |
pobj |
portfolio object |
prices |
current prices of symbols being traded |
amount |
trade amount |
lot_size |
min lot size |
updated portfolio object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.