C# 클래스 FastQuant.Stop

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

보호된 프로퍼티들

프로퍼티 타입 설명
completionTime System.DateTime
connected bool
creationTime System.DateTime
currPrice double
fields ObjectTable
fillMode StopFillMode
fillPrice double
filterBarSize long
filterBarType BarType
initPrice double
instrument Instrument
level double
mode StopMode
position Position
qty double
side PositionSide
status StopStatus
stopPrice double
strategy Strategy
traceOnBar bool
traceOnBarOpen bool
traceOnQuote bool
traceOnTrade bool
trailOnHighLow bool
trailOnOpen bool
trailPrice double
type StopType

공개 메소드들

메소드 설명
Cancel ( ) : void
Disconnect ( ) : void
Stop ( Strategy strategy, Position position, System.DateTime time ) : System
Stop ( Strategy strategy, Position position, double level, StopType type, StopMode mode ) : System

보호된 메소드들

메소드 설명
GetInstrumentPrice ( ) : double
GetPrice ( double price ) : double
GetStopPrice ( ) : double

비공개 메소드들

메소드 설명
Connect ( ) : void
OnAsk ( Ask ask ) : void
OnBar ( Bar bar ) : void
OnBarOpen ( Bar bar ) : void
OnBid ( Bid bid ) : void
OnConnect ( System.DateTime dateTime, object obj ) : void
OnStopStatusChange ( StopStatus status ) : void
OnTrade ( Trade trade ) : void
Stop ( Strategy strategy, Position position, System.DateTime time, double level, StopType type = StopType.Trailing, StopMode mode = StopMode.Percent ) : System
method_1 ( ) : void
method_8 ( StopStatus status ) : void
method_9 ( System.DateTime dateTime, object obj ) : void

메소드 상세

Cancel() 공개 메소드

public Cancel ( ) : void
리턴 void

Disconnect() 공개 메소드

public Disconnect ( ) : void
리턴 void

GetInstrumentPrice() 보호된 메소드

protected GetInstrumentPrice ( ) : double
리턴 double

GetPrice() 보호된 메소드

protected GetPrice ( double price ) : double
price double
리턴 double

GetStopPrice() 보호된 메소드

protected GetStopPrice ( ) : double
리턴 double

Stop() 공개 메소드

public Stop ( Strategy strategy, Position position, System.DateTime time ) : System
strategy Strategy
position Position
time System.DateTime
리턴 System

Stop() 공개 메소드

public Stop ( Strategy strategy, Position position, double level, StopType type, StopMode mode ) : System
strategy Strategy
position Position
level double
type StopType
mode StopMode
리턴 System

프로퍼티 상세

completionTime 보호되어 있는 프로퍼티

protected DateTime,System completionTime
리턴 System.DateTime

connected 보호되어 있는 프로퍼티

protected bool connected
리턴 bool

creationTime 보호되어 있는 프로퍼티

protected DateTime,System creationTime
리턴 System.DateTime

currPrice 보호되어 있는 프로퍼티

protected double currPrice
리턴 double

fields 보호되어 있는 프로퍼티

protected ObjectTable,FastQuant fields
리턴 ObjectTable

fillMode 보호되어 있는 프로퍼티

protected StopFillMode fillMode
리턴 StopFillMode

fillPrice 보호되어 있는 프로퍼티

protected double fillPrice
리턴 double

filterBarSize 보호되어 있는 프로퍼티

protected long filterBarSize
리턴 long

filterBarType 보호되어 있는 프로퍼티

protected BarType filterBarType
리턴 BarType

initPrice 보호되어 있는 프로퍼티

protected double initPrice
리턴 double

instrument 보호되어 있는 프로퍼티

protected Instrument instrument
리턴 Instrument

level 보호되어 있는 프로퍼티

protected double level
리턴 double

mode 보호되어 있는 프로퍼티

protected StopMode mode
리턴 StopMode

position 보호되어 있는 프로퍼티

protected Position,FastQuant position
리턴 Position

qty 보호되어 있는 프로퍼티

protected double qty
리턴 double

side 보호되어 있는 프로퍼티

protected PositionSide side
리턴 PositionSide

status 보호되어 있는 프로퍼티

protected StopStatus status
리턴 StopStatus

stopPrice 보호되어 있는 프로퍼티

protected double stopPrice
리턴 double

strategy 보호되어 있는 프로퍼티

protected Strategy strategy
리턴 Strategy

traceOnBar 보호되어 있는 프로퍼티

protected bool traceOnBar
리턴 bool

traceOnBarOpen 보호되어 있는 프로퍼티

protected bool traceOnBarOpen
리턴 bool

traceOnQuote 보호되어 있는 프로퍼티

protected bool traceOnQuote
리턴 bool

traceOnTrade 보호되어 있는 프로퍼티

protected bool traceOnTrade
리턴 bool

trailOnHighLow 보호되어 있는 프로퍼티

protected bool trailOnHighLow
리턴 bool

trailOnOpen 보호되어 있는 프로퍼티

protected bool trailOnOpen
리턴 bool

trailPrice 보호되어 있는 프로퍼티

protected double trailPrice
리턴 double

type 보호되어 있는 프로퍼티

protected StopType type
리턴 StopType