C# 클래스 FastQuant.InstrumentStrategy

상속: Strategy
파일 보기 프로젝트 열기: fastquant/fastquant.dll 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CreateChildInstrumentStrategy Strategy
EmitStrategyStart void
InsertStrategy void

공개 메소드들

메소드 설명
AddInstance ( Instrument instrument, InstrumentStrategy strategy ) : void
AddInstrument ( Instrument instrument ) : void
HasLongPosition ( ) : bool
HasLongPosition ( double qty ) : bool
HasPosition ( ) : bool
HasPosition ( PositionSide side, double qty ) : bool
HasShortPosition ( ) : bool
HasShortPosition ( double qty ) : bool
Init ( ) : void
InstrumentStrategy ( Framework framework, string name ) : System

비공개 메소드들

메소드 설명
CreateChildInstrumentStrategy ( Instrument instrument ) : Strategy
EmitStrategyStart ( ) : void
InsertStrategy ( InstrumentStrategy strategy ) : void

메소드 상세

AddInstance() 공개 메소드

public AddInstance ( Instrument instrument, InstrumentStrategy strategy ) : void
instrument Instrument
strategy InstrumentStrategy
리턴 void

AddInstrument() 공개 메소드

public AddInstrument ( Instrument instrument ) : void
instrument Instrument
리턴 void

HasLongPosition() 공개 메소드

public HasLongPosition ( ) : bool
리턴 bool

HasLongPosition() 공개 메소드

public HasLongPosition ( double qty ) : bool
qty double
리턴 bool

HasPosition() 공개 메소드

public HasPosition ( ) : bool
리턴 bool

HasPosition() 공개 메소드

public HasPosition ( PositionSide side, double qty ) : bool
side PositionSide
qty double
리턴 bool

HasShortPosition() 공개 메소드

public HasShortPosition ( ) : bool
리턴 bool

HasShortPosition() 공개 메소드

public HasShortPosition ( double qty ) : bool
qty double
리턴 bool

Init() 공개 메소드

public Init ( ) : void
리턴 void

InstrumentStrategy() 공개 메소드

public InstrumentStrategy ( Framework framework, string name ) : System
framework Framework
name string
리턴 System