Lean  $LEAN_TAG$
QuantConnect.Orders.Leg Class Reference

Basic order leg More...

Inheritance diagram for QuantConnect.Orders.Leg:
[legend]

Static Public Member Functions

static Leg Create (Symbol symbol, int quantity, decimal? limitPrice=null)
 Creates a new instance More...
 

Properties

Symbol Symbol [get, set]
 The legs symbol More...
 
int Quantity [get, set]
 Quantity multiplier used to specify proper scale (and direction) of the leg within the strategy More...
 
decimal? OrderPrice [get, set]
 Order limit price of the leg in case limit order is sent to the market on strategy execution More...
 

Detailed Description

Basic order leg

Definition at line 21 of file Leg.cs.

Member Function Documentation

◆ Create()

static Leg QuantConnect.Orders.Leg.Create ( Symbol  symbol,
int  quantity,
decimal?  limitPrice = null 
)
static

Creates a new instance

Parameters
symbolThe symbol
quantityThe quantity
limitPriceAssociated limit price if any

Definition at line 44 of file Leg.cs.

Property Documentation

◆ Symbol

Symbol QuantConnect.Orders.Leg.Symbol
getset

The legs symbol

Definition at line 26 of file Leg.cs.

◆ Quantity

int QuantConnect.Orders.Leg.Quantity
getset

Quantity multiplier used to specify proper scale (and direction) of the leg within the strategy

Definition at line 31 of file Leg.cs.

◆ OrderPrice

decimal? QuantConnect.Orders.Leg.OrderPrice
getset

Order limit price of the leg in case limit order is sent to the market on strategy execution

Definition at line 36 of file Leg.cs.


The documentation for this class was generated from the following file: