Exchange
QuantConnect.Exchange
Exchange(
name: str,
code: str,
description: str,
market: str,
*security_types: Union[
SecurityType, Iterable[SecurityType]
]
)
Bases: Object
Lean exchange definition
Creates a new exchange instance
MEMX
MEMX: Exchange
The Members Exchange (MEMX) is an independently owned, technology-driven stock exchange
MIAX_PEARL
MIAX_PEARL: Exchange
MIAX Pearl Option and Equity exchange. Offers a Price-Time allocation and Maker-Taker fee structure
MIAX_EMERALD
MIAX_EMERALD: Exchange
Serves as a counterpart to MIAX Options and MIAX Pearl by providing Pro-Rata allocation like MIAX Options and a Maker-Taker fee structure like MIAX Pearl
CME
CME: Exchange
The Chicago Mercantile Exchange (CME), is an organized exchange for the trading of futures and options.
CSFB
CSFB: Exchange
Credit Suisse First Boston (also known as CSFB and CS First Boston) is the investment banking affiliate of Credit Suisse headquartered in New York.
PHLX
PHLX: Exchange
Philadelphia Stock Exchange (PHLX), now known as Nasdaq PHLX, is the first stock exchange established in the United States and the oldest stock exchange in the nation.
description
description: str
Exchange description
code
code: str
The exchange short code
name
name: str
The exchange name
market
market: str
The associated lean market market
__eq__
__eq__(right: Exchange) -> bool
Equals operator
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
right
|
Exchange
|
The right operand |
required |
Returns:
| Type | Description |
|---|---|
bool
|
True if both symbols are equal, otherwise false. |
__ne__
__ne__(right: Exchange) -> bool
Not equals operator
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
right
|
Exchange
|
The right operand |
required |
Returns:
| Type | Description |
|---|---|
bool
|
True if both symbols are not equal, otherwise false. |
equals
equals(obj: Any) -> bool
Indicates whether the current object is equal to another object
get_hash_code
get_hash_code() -> int
Serves as a hash function for a particular type.
to_string
to_string() -> str
Returns a string that represents the current object.