execute_buy: Execute Buy Trade Function

Description Usage Arguments Value

View source: R/trade-helpers.R

Description

Updates portfolio with buy trade provided

Usage

1
execute_buy(buy, pobj, prices)

Arguments

buy

data.frame with buy trade information. Result of get_buy_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.