execute_sell: Execute Sell Trade Function

Description Usage Arguments Value

View source: R/trade-helpers.R

Description

Updates portfolio with sell trade provided

Usage

1
execute_sell(sell, pobj, prices)

Arguments

sell

data.frame with sell trade information. Result of get_sell_trades function

pobj

portfolio object

prices

current prices of symbols being traded

Value

updated portfolio object


chrishaarstick/madstork.opt documentation built on Nov. 12, 2019, 9:39 p.m.