Table of Contents

Class QuotingAction

Namespace
StockSharp.Algo.Strategies.Quoting
Assembly
StockSharp.Algo.dll

Recommended action output from the engine.

public class QuotingAction
Inheritance
QuotingAction
Inherited Members
Extension Methods

Constructors

QuotingAction()

public QuotingAction()

Properties

ActionType

Type of action.

public QuotingActionType ActionType { get; set; }

Property Value

QuotingActionType

IsSuccess

Whether the quoting was successful (for Finish action).

public bool IsSuccess { get; set; }

Property Value

bool

OrderType

Order type for new order.

public OrderTypes? OrderType { get; set; }

Property Value

OrderTypes?

Price

Recommended price for new order (null for market orders).

public decimal? Price { get; set; }

Property Value

decimal?

Reason

Reason for the action (for logging).

public string Reason { get; set; }

Property Value

string

Volume

Recommended volume for new order.

public decimal? Volume { get; set; }

Property Value

decimal?

Methods

Cancel(string)

Create "cancel order" result.

public static QuotingAction Cancel(string reason = null)

Parameters

reason string

Returns

QuotingAction

Finish(bool, string)

Create "finish quoting" result.

public static QuotingAction Finish(bool isSuccess, string reason = null)

Parameters

isSuccess bool
reason string

Returns

QuotingAction

Modify(decimal?, decimal, OrderTypes, string)

Create "modify order" result.

public static QuotingAction Modify(decimal? price, decimal volume, OrderTypes orderType = OrderTypes.Limit, string reason = null)

Parameters

price decimal?
volume decimal
orderType OrderTypes
reason string

Returns

QuotingAction

None(string)

Create "no action" result.

public static QuotingAction None(string reason = null)

Parameters

reason string

Returns

QuotingAction

Register(decimal?, decimal, OrderTypes, string)

Create "register order" result.

public static QuotingAction Register(decimal? price, decimal volume, OrderTypes orderType = OrderTypes.Limit, string reason = null)

Parameters

price decimal?
volume decimal
orderType OrderTypes
reason string

Returns

QuotingAction