account: Account manager

Description Value Super class Methods Author(s)

Description

Store the account information that owns the asset(s)/instrument(s)

Value

Object of type account

Super class

ims::portfolio -> account

Methods

Public methods

Inherited methods

Method add_account()

A simple method to add account

Usage
account$add_account(platform, name, username, totDep, totWithd)
Arguments
platform:

The platform where we have the accounts

name:

The name of the account owner

username:

The username of the account owner

totDep:

The number of deposit

totWithd:

The number of withdrawal had been done

Returns

NA


Method clone()

The objects of this class are cloneable with this method.

Usage
account$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Author(s)

Suberlin Sinaga @2021


blakcjack/ims documentation built on Dec. 19, 2021, 9:52 a.m.