Skip to content

QuantConnect.Data.Auxiliary

Classes

Class Description
AuxiliaryDataKey Unique definition key for a collection of auxiliary data for a Market and SecurityType
CorporateFactorProvider Corporate related factor provider. Factors based on splits and dividends
CorporateFactorRow Defines a single row in a factor_factor file. This is a csv file ordered as {date, price factor, split factor, reference price}
FactorFile Represents an entire factor file for a specified symbol
FactorFileZipHelper Provides methods for reading factor file zips
IFactorProvider Providers price scaling factors for a permanent tick
IFactorRow Factor row abstraction. IFactorProvider
LocalDiskFactorFileProvider Provides an implementation of IFactorFileProvider that searches the local disk
LocalDiskMapFileProvider Provides a default implementation of IMapFileProvider that reads from...
LocalZipFactorFileProvider Provides an implementation of IFactorFileProvider that searches the local disk for a zip file containing all factor files
LocalZipMapFileProvider Provides an implementation of IMapFileProvider that reads from a local zip file
MapFile Represents an entire map file for a specified symbol
MapFilePrimaryExchangeProvider Implementation of IPrimaryExchangeProvider from map files.
MapFileResolver Provides a means of mapping a symbol at a point in time to the map file...
MapFileRow Represents a single row in a map_file. This is a csv file ordered as {date, mapped symbol}
MapFileZipHelper Helper class for handling mapfile zip files
MappingContractFactorProvider Mapping related factor provider. Factors based on price differences on mapping dates
MappingContractFactorRow Collection of factors for continuous contracts and their back months contracts for a specific mapping mode data_mapping_mode and date
MappingExtensions Mapping extensions helper methods
PriceScalingExtensions Set of helper methods for factor files and price scaling operations
SymbolDateRange Represents security identifier within a date range.
TickerDateRange Represents stock data for a specific ticker within a date range.

Enumerations

QuantConnect.Data.Auxiliary.QuoteConditionFlags

Bases: IntEnum

Flag system for quote conditions

NONE

NONE = 0

No Condition

REGULAR

REGULAR = ...

This condition is used for the majority of quotes to indicate a normal trading environment.

SLOW

SLOW = ...

This condition is used to indicate that the quote is a Slow Quote on both the Bid and Offer sides due to a Set Slow List that includes High Price securities.

GAP

GAP = ...

While in this mode, auto-execution is not eligible, the quote is then considered manual and non-firm in the Bid and Offer and either or both sides can be traded through as per Regulation NMS.

CLOSING

CLOSING = ...

This condition can be disseminated to indicate that this quote was the last quote for a security for that Participant.

NEWS_DISSEMINATION

NEWS_DISSEMINATION = ...

This regulatory Opening Delay or Trading Halt is used when relevant news influencing the security is being disseminated. Trading is suspended until the primary market determines that an adequate publication or disclosure of information has occurred.

NEWS_PENDING

NEWS_PENDING = ...

This condition is used to indicate a regulatory Opening Delay or Trading Halt due to an expected news announcement, which may influence the security. An Opening Delay or Trading Halt may be continued once the news has been disseminated.

TRADING_RANGE_INDICATION

TRADING_RANGE_INDICATION = ...

The condition is used to denote the probable trading range (bid and offer prices, no sizes) of a security that is not Opening Delayed or Trading Halted. The Trading Range Indication is used prior to or after the opening of a security.

ORDER_IMBALANCE

ORDER_IMBALANCE = ...

This non-regulatory Opening Delay or Trading Halt is used when there is a significant imbalance of buy or sell orders.

CLOSED_MARKET_MAKER

CLOSED_MARKET_MAKER = ...

This condition is disseminated by each individual FINRA Market Maker to signify either the last quote of the day or the premature close of an individual Market Maker for the day.

VOLATILITY_TRADING_PAUSE

VOLATILITY_TRADING_PAUSE = ...

This quote condition indicates a regulatory Opening Delay or Trading Halt due to conditions in which a security experiences a 10 % or more change in price over a five minute period.

NON_FIRM_QUOTE

NON_FIRM_QUOTE = ...

This quote condition suspends a Participant's firm quote obligation for a quote for a security.

OPENING_QUOTE

OPENING_QUOTE = ...

This condition can be disseminated to indicate that this quote was the opening quote for a security for that Participant.

DUE_TO_RELATED_SECURITY = ...

This non-regulatory Opening Delay or Trading Halt is used when events relating to one security will affect the price and performance of another related security. This non-regulatory Opening Delay or Trading Halt is also used when non-regulatory halt reasons such as Order Imbalance, Order Influx and Equipment Changeover are combined with Due to Related Security on CTS.

RESUME

RESUME = ...

This quote condition along with zero-filled bid, offer and size fields is used to indicate that trading for a Participant is no longer suspended in a security which had been Opening Delayed or Trading Halted.

IN_VIEW_OF_COMMON

IN_VIEW_OF_COMMON = ...

This quote condition is used when matters affecting the common stock of a company affect the performance of the non-common associated securities, e.g., warrants, rights, preferred, classes, etc.

EQUIPMENT_CHANGEOVER

EQUIPMENT_CHANGEOVER = ...

This non-regulatory Opening Delay or Trading Halt is used when the ability to trade a security by a Participant is temporarily inhibited due to a systems, equipment or communications facility problem or for other technical reasons.

SUB_PENNY_TRADING

SUB_PENNY_TRADING = ...

This non-regulatory Opening Delay or Trading Halt is used to indicate an Opening Delay or Trading Halt for a security whose price may fall below $1.05, possibly leading to a sub-penny execution.

NO_OPEN_NO_RESUME

NO_OPEN_NO_RESUME = ...

This quote condition is used to indicate that an Opening Delay or a Trading Halt is to be in effect for the rest of the trading day in a security for a Participant.

LIMIT_UP_LIMIT_DOWN_PRICE_BAND

LIMIT_UP_LIMIT_DOWN_PRICE_BAND = ...

This quote condition is used to indicate that a Limit Up-Limit Down Price Band is applicable for a security.

REPUBLISHED_LIMIT_UP_LIMIT_DOWN_PRICE_BAND

REPUBLISHED_LIMIT_UP_LIMIT_DOWN_PRICE_BAND = ...

This quote condition is used to indicate that a Limit Up-Limit Down Price Band that is being disseminated " + is a ‘republication’ of the latest Price Band for a security.

MANUAL

MANUAL = ...

This indicates that the market participant is in a manual mode on both the Bid and Ask. While in this mode, automated execution is not eligible on the Bid and Ask side and can be traded through pursuant to Regulation NMS requirements.

FAST_TRADING

FAST_TRADING = ...

For extremely active periods of short duration. While in this mode, the UTP participant will enter quotations on a “best efforts” basis.

ORDER_INFLUX

ORDER_INFLUX = ...

A halt condition used when there is a sudden order influx. To prevent a disorderly market, trading is temporarily suspended by the UTP participant.

QuantConnect.Data.Auxiliary.TradeConditionFlags

Bases: IntEnum

Flag system for trade conditions

NONE

NONE = 0

No Condition

REGULAR

REGULAR = ...

A trade made without stated conditions is deemed regular way for settlement on the third business day following the transaction date.

CASH

CASH = ...

A transaction which requires delivery of securities and payment on the same day the trade takes place.

NEXT_DAY

NEXT_DAY = ...

A transaction that requires the delivery of securities on the first business day following the trade date.

SELLER

SELLER = ...

A Seller’s Option transaction gives the seller the right to deliver the security at any time within a specific period, ranging from not less than two calendar days, to not more than sixty calendar days.

YELLOW_FLAG

YELLOW_FLAG = ...

Market Centers will have the ability to identify regular trades being reported during specific events as out of the ordinary by appending a new sale condition code Yellow Flag (Y) on each transaction reported to the UTP SIP. The new sale condition will be eligible to update all market center and consolidated statistics.

INTERMARKET_SWEEP

INTERMARKET_SWEEP = ...

The transaction that constituted the trade-through was the execution of an order identified as an Intermarket Sweep Order.

OPENING_PRINTS

OPENING_PRINTS = ...

The trade that constituted the trade-through was a single priced opening transaction by the Market Center.

CLOSING_PRINTS

CLOSING_PRINTS = ...

The transaction that constituted the trade-through was a single priced closing transaction by the Market Center.

RE_OPENING_PRINTS

RE_OPENING_PRINTS = ...

The trade that constituted the trade-through was a single priced reopening transaction by the Market Center.

DERIVATIVELY_PRICED

DERIVATIVELY_PRICED = ...

The transaction that constituted the trade-through was the execution of an order at a price that was not based, directly or indirectly, on the quoted price of the security at the time of execution and for which the material terms were not reasonably determinable at the time the commitment to execute the order was made.

FORM_T

FORM_T = ...

Trading in extended hours enables investors to react quickly to events that typically occur outside regular market hours, such as earnings reports. However, liquidity may be constrained during such Form T trading, resulting in wide bid-ask spreads.

SOLD

SOLD = ...

Sold Last is used when a trade prints in sequence but is reported late or printed in conformance to the One or Two Point Rule.

STOPPED

STOPPED = ...

The transaction that constituted the trade-through was the execution by a trading center of an order for which, at the time of receipt of the order, the execution at no worse than a specified price a 'stopped order'

EXTENDED_HOURS

EXTENDED_HOURS = ...

Identifies a trade that was executed outside of regular primary market hours and is reported as an extended hours trade.

OUT_OF_SEQUENCE

OUT_OF_SEQUENCE = ...

Identifies a trade that takes place outside of regular market hours.

SPLIT

SPLIT = ...

An execution in two markets when the specialist or Market Maker in the market first receiving the order agrees to execute a portion of it at whatever price is realized in another market to which the balance of the order is forwarded for execution.

ACQUISITION

ACQUISITION = ...

A transaction made on the Exchange as a result of an Exchange acquisition.

BUNCHED

BUNCHED = ...

A trade representing an aggregate of two or more regular trades in a security occurring at the same price either simultaneously or within the same 60-second period, with no individual trade exceeding 10,000 shares.

STOCK_OPTION

STOCK_OPTION = ...

Stock-Option Trade is used to identify cash equity transactions which are related to options transactions and therefore potentially subject to cancellation if market conditions of the options leg(s) prevent the execution of the stock-option order at the price agreed upon.

DISTRIBUTION

DISTRIBUTION = ...

Sale of a large block of stock in such a manner that the price is not adversely affected.

AVERAGE_PRICE

AVERAGE_PRICE = ...

A trade where the price reported is based upon an average of the prices for transactions in a security during all or any portion of the trading day.

CROSS

CROSS = ...

Indicates that the trade resulted from a Market Center’s crossing session.

PRICE_VARIATION

PRICE_VARIATION = ...

Indicates a regular market session trade transaction that carries a price that is significantly away from the prevailing consolidated or primary market value at the time of the transaction.

RULE_155

RULE_155 = ...

To qualify as a NYSE AMEX Rule 155

OFFICIAL_CLOSE

OFFICIAL_CLOSE = ...

Indicates the ‘Official’ closing value as determined by a Market Center. This transaction report will contain the market center generated closing price.

PRIOR_REFERENCE_PRICE

PRIOR_REFERENCE_PRICE = ...

A sale condition that identifies a trade based on a price at a prior point in time i.e. more than 90 seconds prior to the time of the trade report. The execution time of the trade will be the time of the prior reference price.

OFFICIAL_OPEN

OFFICIAL_OPEN = ...

Indicates the ‘Official’ open value as determined by a Market Center. This transaction report will contain the market

CAP_ELECTION

CAP_ELECTION = ...

The CAP Election Trade highlights sales as a result of a sweep execution on the NYSE, whereby CAP orders have been elected and executed outside the best price bid or offer and the orders appear as repeat trades at subsequent execution prices. This indicator provides additional information to market participants that an automatic sweep transaction has occurred with repeat trades as one continuous electronic transaction.

AUTO_EXECUTION

AUTO_EXECUTION = ...

A sale condition code that identifies a NYSE trade that has been automatically executed without the potential benefit of price improvement.

TRADE_THROUGH_EXEMPT

TRADE_THROUGH_EXEMPT = ...

Denotes whether or not a trade is exempt (Rule 611) and when used jointly with certain Sale Conditions, will more fully describe the characteristics of a particular trade.

UNDOCUMENTED_FLAG

UNDOCUMENTED_FLAG = ...

This flag is present in raw data, but AlgoSeek document does not describe it.

ODD_LOT

ODD_LOT = ...

Denotes the trade is an odd lot less than a 100 shares.