finsec.enums module#

class finsec.enums.ExpirySeriesType(value)[source]#

Bases: int, Enum

An enumeration.

MONTHLY = 20#
QUARTERLY = 10#
UNKNOWN = 0#
WEEKLY = 30#
class finsec.enums.ExpiryTimeOfDay(value)[source]#

Bases: int, Enum

An enumeration.

CLOSE = 3#
EDSP = 2#
OPEN = 1#
UNKNOWN = 0#
class finsec.enums.OptionExerciseStyle(value)[source]#

Bases: int, Enum

An enumeration.

AMERICAN = 2#
BERMUDAN = 3#
EUROPEAN = 1#
UNKNOWN = 0#
class finsec.enums.OptionFlavor(value)[source]#

Bases: int, Enum

An enumeration.

CALL = 2#
PUT = 1#
UNKNOWN = 0#
class finsec.enums.SecurityIdentifierType(value)[source]#

Bases: int, Enum

An enumeration.

CUSIP = 4#
FIGI = 2#
ISIN = 3#
OCC = 5#
UNKNOWN = 0#
class finsec.enums.SecuritySubtype(value)[source]#

Bases: int, Enum

An enumeration.

COMMON_STOCK = 1005#
CRYPTOCURRENCY = 510#
CURRENCY_OPTION = 2050#
DERIVED_INDEX = 10#
ENERGY = 115#
EQUITY_OPTION = 2040#
ETP = 1020#
FORWARD = 2010#
FUTURE = 2001#
GRAIN = 125#
INDEX_OPTION = 2030#
LIVESTOCK = 130#
METAL = 120#
NATIONAL_FIAT = 505#
OVERNIGHT_RATE = 80#
PERPETUAL_FUTURE = 2003#
PREFERRED_STOCK = 1010#
SINGLE_STOCK_FUTURE = 2002#
SOFT_COMMODITY = 110#
TERM_RATE = 85#
UNKNOWN = 0#
class finsec.enums.SecurityType(value)[source]#

Bases: int, Enum

An enumeration.

ALTERNATIVE = 6#
BASKET = 12#
COMMODITY = 1#
CURRENCY = 2#
DEBT = 3#
DERIVATIVE = 5#
EQUITY = 4#
INDEX = 7#
STRUCTURE = 10#
UNKNOWN = 0#
class finsec.enums.SettlementType(value)[source]#

Bases: int, Enum

An enumeration.

CASH = 1#
PHYSICAL = 2#
UNKNOWN = 0#