Lean  $LEAN_TAG$
QuantConnect.Orders.Fills.Prices Class Reference

Prices class used by IFillModels More...

Public Member Functions

 Prices (IBaseDataBar bar)
 Create an instance of Prices class with a data bar More...
 
 Prices (DateTime endTime, IBar bar)
 Create an instance of Prices class with a data bar and end time More...
 
 Prices (DateTime endTime, decimal current, decimal open, decimal high, decimal low, decimal close)
 Create a instance of the Prices class with specific values for all prices More...
 

Properties

DateTime EndTime [get]
 End time for these prices More...
 
decimal Current [get]
 Current price More...
 
decimal Open [get]
 Open price More...
 
decimal High [get]
 High price More...
 
decimal Low [get]
 Low price More...
 
decimal Close [get]
 Closing price More...
 

Detailed Description

Prices class used by IFillModels

Definition at line 24 of file Prices.cs.

Constructor & Destructor Documentation

◆ Prices() [1/3]

QuantConnect.Orders.Fills.Prices.Prices ( IBaseDataBar  bar)

Create an instance of Prices class with a data bar

Parameters
barData bar to use for prices

Definition at line 60 of file Prices.cs.

◆ Prices() [2/3]

QuantConnect.Orders.Fills.Prices.Prices ( DateTime  endTime,
IBar  bar 
)

Create an instance of Prices class with a data bar and end time

Parameters
endTimeThe end time for these prices
barData bar to use for prices

Definition at line 70 of file Prices.cs.

◆ Prices() [3/3]

QuantConnect.Orders.Fills.Prices.Prices ( DateTime  endTime,
decimal  current,
decimal  open,
decimal  high,
decimal  low,
decimal  close 
)

Create a instance of the Prices class with specific values for all prices

Parameters
endTimeThe end time for these prices
currentCurrent price
openOpen price
highHigh price
lowLow price
closeClose price

Definition at line 84 of file Prices.cs.

Property Documentation

◆ EndTime

DateTime QuantConnect.Orders.Fills.Prices.EndTime
get

End time for these prices

Definition at line 29 of file Prices.cs.

◆ Current

decimal QuantConnect.Orders.Fills.Prices.Current
get

Current price

Definition at line 34 of file Prices.cs.

◆ Open

decimal QuantConnect.Orders.Fills.Prices.Open
get

Open price

Definition at line 39 of file Prices.cs.

◆ High

decimal QuantConnect.Orders.Fills.Prices.High
get

High price

Definition at line 44 of file Prices.cs.

◆ Low

decimal QuantConnect.Orders.Fills.Prices.Low
get

Low price

Definition at line 49 of file Prices.cs.

◆ Close

decimal QuantConnect.Orders.Fills.Prices.Close
get

Closing price

Definition at line 54 of file Prices.cs.


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