C# 클래스 Demo.MyStrategy

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

공개 메소드들

메소드 설명
MyStrategy ( Framework framework, string name ) : System

보호된 메소드들

메소드 설명
OnBar ( SmartQuant.Instrument instrument, Bar bar ) : void
OnExecutionReport ( ExecutionReport report ) : void
OnFill ( Fill fill ) : void
OnPositionOpened ( Position position ) : void
OnStrategyStart ( ) : void

비공개 메소드들

메소드 설명
AddGroups ( ) : void
UpdateExitLimit ( ) : void

메소드 상세

MyStrategy() 공개 메소드

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

OnBar() 보호된 메소드

protected OnBar ( SmartQuant.Instrument instrument, Bar bar ) : void
instrument SmartQuant.Instrument
bar Bar
리턴 void

OnExecutionReport() 보호된 메소드

protected OnExecutionReport ( ExecutionReport report ) : void
report ExecutionReport
리턴 void

OnFill() 보호된 메소드

protected OnFill ( Fill fill ) : void
fill Fill
리턴 void

OnPositionOpened() 보호된 메소드

protected OnPositionOpened ( Position position ) : void
position Position
리턴 void

OnStrategyStart() 보호된 메소드

protected OnStrategyStart ( ) : void
리턴 void