|
Lean
$LEAN_TAG$
|
Single candlestick for a candlestick chart More...
Public Member Functions | |
| Candlestick () | |
| Default constructor More... | |
| Candlestick (long time, decimal? open, decimal? high, decimal? low, decimal? close) | |
| Constructor taking the candlestick values More... | |
| Candlestick (DateTime time, decimal? open, decimal? high, decimal? low, decimal? close) | |
| Constructor taking candlestick values and time in DateTime format More... | |
| Candlestick (TradeBar bar) | |
| Constructor taking candlestick values and time in DateTime format More... | |
| Candlestick (DateTime time, Bar bar) | |
| Constructor taking candlestick values and time in DateTime format More... | |
| Candlestick (Candlestick candlestick) | |
| Copy constructor More... | |
| override string | ToString () |
| Provides a readable string representation of this instance. More... | |
| ISeriesPoint | Clone () |
| Clones this instance More... | |
| void | Update (decimal? value) |
| Updates the candlestick with a new value. This will aggregate the OHLC bar More... | |
| void | Update (decimal value) |
| Updates the candlestick with a new value. This will aggregate the OHLC bar More... | |
Properties | |
| DateTime | Time [get, set] |
| The candlestick time More... | |
| long | LongTime [get] |
| The candlestick time in seconds since Unix Epoch More... | |
| decimal? | Open [get, set] |
| The candlestick open price More... | |
| decimal? | High [get, set] |
| The candlestick high price More... | |
| decimal? | Low [get, set] |
| The candlestick low price More... | |
| decimal? | Close [get, set] |
| The candlestick close price More... | |
Properties inherited from QuantConnect.ISeriesPoint | |
| DateTime | Time [get, set] |
| Time of this chart series point More... | |
Single candlestick for a candlestick chart
Definition at line 27 of file Candlestick.cs.
| QuantConnect.Candlestick.Candlestick | ( | ) |
Default constructor
Definition at line 90 of file Candlestick.cs.
| QuantConnect.Candlestick.Candlestick | ( | long | time, |
| decimal? | open, | ||
| decimal? | high, | ||
| decimal? | low, | ||
| decimal? | close | ||
| ) |
Constructor taking the candlestick values
| time | Candlestick time in seconds since Unix Epoch |
| open | Candlestick open price |
| high | Candlestick high price |
| low | Candlestick low price |
| close | Candlestick close price |
Definition at line 100 of file Candlestick.cs.
| QuantConnect.Candlestick.Candlestick | ( | DateTime | time, |
| decimal? | open, | ||
| decimal? | high, | ||
| decimal? | low, | ||
| decimal? | close | ||
| ) |
Constructor taking candlestick values and time in DateTime format
| time | Candlestick time in seconds |
| open | Candlestick open price |
| high | Candlestick high price |
| low | Candlestick low price |
| close | Candlestick close price |
Definition at line 113 of file Candlestick.cs.
| QuantConnect.Candlestick.Candlestick | ( | TradeBar | bar | ) |
Constructor taking candlestick values and time in DateTime format
| bar | Bar which data will be used to create the candlestick |
Definition at line 126 of file Candlestick.cs.
| QuantConnect.Candlestick.Candlestick | ( | DateTime | time, |
| Bar | bar | ||
| ) |
Constructor taking candlestick values and time in DateTime format
| time | Candlestick time in seconds |
| bar | Bar which data will be used to create the candlestick |
Definition at line 136 of file Candlestick.cs.
| QuantConnect.Candlestick.Candlestick | ( | Candlestick | candlestick | ) |
Copy constructor
| candlestick | Candlestick to copy from |
Definition at line 145 of file Candlestick.cs.
| override string QuantConnect.Candlestick.ToString | ( | ) |
Provides a readable string representation of this instance.
Definition at line 153 of file Candlestick.cs.
| ISeriesPoint QuantConnect.Candlestick.Clone | ( | ) |
Clones this instance
Implements QuantConnect.ISeriesPoint.
Definition at line 162 of file Candlestick.cs.
| void QuantConnect.Candlestick.Update | ( | decimal? | value | ) |
Updates the candlestick with a new value. This will aggregate the OHLC bar
| value | The new value |
Definition at line 171 of file Candlestick.cs.
| void QuantConnect.Candlestick.Update | ( | decimal | value | ) |
Updates the candlestick with a new value. This will aggregate the OHLC bar
| value | The new value |
Definition at line 183 of file Candlestick.cs.
|
getset |
The candlestick time
Definition at line 38 of file Candlestick.cs.
|
get |
The candlestick time in seconds since Unix Epoch
Definition at line 44 of file Candlestick.cs.
|
getset |
The candlestick open price
Definition at line 55 of file Candlestick.cs.
|
getset |
The candlestick high price
Definition at line 64 of file Candlestick.cs.
|
getset |
The candlestick low price
Definition at line 73 of file Candlestick.cs.
|
getset |
The candlestick close price
Definition at line 82 of file Candlestick.cs.