InvestmentBuy class
InvestmentBuy class
Investment buy transaction class.
Inheritance: InvestmentBuy → AbstractInvestmentTransaction → AbstractInvestmentTransactionBase
The InvestmentBuy type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
| InvestmentBuy() | Initializes a new instance of InvestmentBuy class. |
Properties
| Property | Description |
|---|---|
| investment_transaction | Gets or sets the AbstractInvestmentTransaction.investment_transaction. |
| security_id | Gets or sets the InvestmentBuy.security_id. |
| units | Gets or sets the units. For security-based actions other than stock splits. Shares for stocks, mutual funds, and others. Face value for bonds. Contracts for options. |
| unit_price | Gets or sets the price per commonly-quoted unit. Does not include markup/markdown. Share price for stocks, mutual funds, and others. Percentage of par for bonds. Per share (not contract) for options. |
| markup | Gets or sets the portion of the unit price that is attributed to the dealer markup. |
| commission | Gets or sets the transaction commission. |
| taxes | Gets or sets the taxes on the trade. |
| fees | Gets or sets the fees applied to trade. |
| load | Gets or sets the load on the transaction. |
| total | Gets or sets the transaction total. |
| currency | Gets or sets the InvestmentBuy.currency. |
| origin_currency | Gets or sets the origin InvestmentBuy.currency. |
| sub_account_security | Gets or sets the sub-account type for the security |
| sub_account_fund | Gets or sets where did the money for the transaction come from or go to. |
| loan_id | Gets or sets the transaction was due to a loan or a loan repayment, and which loan it was. For 401(k) accounts only. |
| loan_principal | Gets or sets how much of the loan repayment was principal. For 401(k) accounts only. |
| loan_interest | Gets or sets how much of the loan repayment was interest. For 401(k) accounts only. |
| investment_401k_source | Gets or sets the source of money for this transaction. |
| payroll_date | Gets or sets the date the funds for this transaction was obtained via payroll deduction for 401(k) accounts. |
| prior_year_contribution | Gets or sets whether this Buy was made with a prior year contribution for 401(k) accounts. |