new_income: Income Object Constructor function

Description Usage Arguments Value

View source: R/Income.R

Description

Function to create an object of class income

Usage

1
new_income(type, date, symbol, quantity, payment, amount, desc)

Arguments

type

trade type. string type.

date

date of income payment. Date type

symbol

symbol ticker. character type

quantity

number of shares. numeric type

payment

payment per share. Dividend for equity and interest for bond. numeric type

amount

income dollar amount. numeric type

desc

income description. string type

Value

object of class income


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