get_sell_ids: Get Sell Trades

Description Usage Arguments Details Value

View source: R/Trades.R

Description

Returns all possible sell trades from a portfolio object

Usage

1
get_sell_ids(pobj, date, symbol, quantity)

Arguments

pobj

portfolio object

symbols

vector of holding symbols to filter sell tickets by

amount

trade amount

partial

logical option to allow for partial trade tickets with an quantity less than the quantity argument. default is TRUE

Details

Checks current holdings and generates sell tickets based on symbol, trade amount and lot_size

Value

data.frame with possible sell trades


chrishaarstick/madstork documentation built on Jan. 3, 2022, 8:34 p.m.