C# Class Sharekhan.domain.BuyTransaction

Inheritance: Transaction
Mostrar archivo Open project: anagri/sharekhan Class Usage Examples

Public Methods

Method Description
Amount ( ) : Price
BuyTransaction ( ) : System
BuyTransaction ( System.DateTime date, Instrument instrument, int quantity, Price amount, double tax, double brokerage ) : System
ComputeCapitalRealization ( RealizedProfit realizedProfit ) : void
EffectiveTransactionAmount ( ) : Price
EffectiveTransactionQuantity ( ) : int

Method Details

Amount() public method

public Amount ( ) : Price
return Price

BuyTransaction() public method

public BuyTransaction ( ) : System
return System

BuyTransaction() public method

public BuyTransaction ( System.DateTime date, Instrument instrument, int quantity, Price amount, double tax, double brokerage ) : System
date System.DateTime
instrument Instrument
quantity int
amount Price
tax double
brokerage double
return System

ComputeCapitalRealization() public method

public ComputeCapitalRealization ( RealizedProfit realizedProfit ) : void
realizedProfit RealizedProfit
return void

EffectiveTransactionAmount() public method

public EffectiveTransactionAmount ( ) : Price
return Price

EffectiveTransactionQuantity() public method

public EffectiveTransactionQuantity ( ) : int
return int