C# 클래스 Sharekhan.domain.Transaction

파일 보기 프로젝트 열기: anagri/sharekhan 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
NUMBER_OF_DAYS_IN_YEAR int

공개 메소드들

메소드 설명
Amount ( ) : Price
ComputeCapitalRealization ( RealizedProfit realizedProfit ) : void
EffectiveTransactionAmount ( ) : Price
EffectiveTransactionQuantity ( ) : int
GetEffectiveReturn ( DateTime referenceDate, double rate ) : Price
IsLongTerm ( FinYear year ) : bool
Transaction ( ) : System
Transaction ( DateTime date, Instrument instrument, int quantity, Price unitPrice ) : System

메소드 상세

Amount() 공개 추상적인 메소드

public abstract Amount ( ) : Price
리턴 Price

ComputeCapitalRealization() 공개 추상적인 메소드

public abstract ComputeCapitalRealization ( RealizedProfit realizedProfit ) : void
realizedProfit RealizedProfit
리턴 void

EffectiveTransactionAmount() 공개 추상적인 메소드

public abstract EffectiveTransactionAmount ( ) : Price
리턴 Price

EffectiveTransactionQuantity() 공개 추상적인 메소드

public abstract EffectiveTransactionQuantity ( ) : int
리턴 int

GetEffectiveReturn() 공개 메소드

public GetEffectiveReturn ( DateTime referenceDate, double rate ) : Price
referenceDate DateTime
rate double
리턴 Price

IsLongTerm() 공개 메소드

public IsLongTerm ( FinYear year ) : bool
year FinYear
리턴 bool

Transaction() 공개 메소드

public Transaction ( ) : System
리턴 System

Transaction() 공개 메소드

public Transaction ( DateTime date, Instrument instrument, int quantity, Price unitPrice ) : System
date DateTime
instrument Instrument
quantity int
unitPrice Price
리턴 System

프로퍼티 상세

NUMBER_OF_DAYS_IN_YEAR 공개적으로 정적으로 프로퍼티

public static int NUMBER_OF_DAYS_IN_YEAR
리턴 int