<commit_before># Security base classes ##########################################################################

com.opengamma.master.security.ManageableSecurity._abstract = true
com.opengamma.master.security.ManageableSecurity._name = Security
com.opengamma.master.security.ManageableSecurity._label = a security
com.opengamma.master.security.ManageableSecurity.name = display name
com.opengamma.master.security.ManageableSecurity.securityType[type,r/o] = asset class
com.opengamma.master.security.ManageableSecurity.identifiers = identifiers for various schemes

# Equities #######################################################################################

com.opengamma.financial.security.equity.EquitySecurity._label = an equity security
com.opengamma.financial.security.equity.EquitySecurity._parameters = exchange, exchangeCode, companyName, currency
com.opengamma.financial.security.equity.EquitySecurity.exchange = exchange name
com.opengamma.financial.security.equity.EquitySecurity.exchangeCode = exchange code
com.opengamma.financial.security.equity.EquitySecurity.companyName = company name
com.opengamma.financial.security.equity.EquitySecurity.currency = currency
com.opengamma.financial.security.equity.EquitySecurity.shortName = short name
com.opengamma.financial.security.equity.EquitySecurity.gicsCode = GICS code

# FRAs ###########################################################################################

com.opengamma.financial.security.fra.FRASecurity._label = a forward rate agreement security
com.opengamma.financial.security.fra.FRASecurity._parameters = currency, region, startDate, endDate, rate, amount
com.opengamma.financial.security.fra.FRASecurity.currency = currency
com.opengamma.financial.security.fra.FRASecurity.region = region
com.opengamma.financial.security.fra.FRASecurity.startDate = start date
com.opengamma.financial.security.fra.FRASecurity.endDate = end date
com.opengamma.financial.security.fra.FRASecurity.rate = rate as a decimal (e.g. 5% = 0.05)
com.opengamma.financial.security.fra.FRASecurity.amount = notional amount

# Futures ########################################################################################

# Common base class
com.opengamma.financial.security.future.FutureSecurity._label = a future security
com.opengamma.financial.security.future.FutureSecurity.expiry = expiry date
com.opengamma.financial.security.future.FutureSecurity.tradingExchange = trading exchange
com.opengamma.financial.security.future.FutureSecurity.settlementExchange = settlement exchange
com.opengamma.financial.security.future.FutureSecurity.currency = currency

# Bond Futures
com.opengamma.financial.security.future.BondFutureDeliverable._description = Defines a deliverable for a bond future
com.opengamma.financial.security.future.BondFutureDeliverable._parameters = identifiers, conversionFactor
com.opengamma.financial.security.future.BondFutureDeliverable.identifiers = identifier bundle describing the deliverable
com.opengamma.financial.security.future.BondFutureDeliverable.conversionFactor = conversion factor
com.opengamma.financial.security.future.BondFutureSecurity._label = a bond future security
com.opengamma.financial.security.future.BondFutureSecurity._parameters = expiry, tradingExchange, settlementExchange, currency, basket, bondType, firstDeliveryDate, lastDeliveryDate
com.opengamma.financial.security.future.BondFutureSecurity.basket = basket of deliverables
com.opengamma.financial.security.future.BondFutureSecurity.bondType = type of the bond
com.opengamma.financial.security.future.BondFutureSecurity.firstDeliveryDate = first delivery date
com.opengamma.financial.security.future.BondFutureSecurity.lastDeliveryDate = last delivery date

# Commodity Futures
com.opengamma.financial.security.future.CommodityFutureSecurity.commodityType = commodity type
com.opengamma.financial.security.future.CommodityFutureSecurity.unitNumber = number of units
com.opengamma.financial.security.future.CommodityFutureSecurity.unitName  = name of units unitNumber is measured in 

# Energy Futures
com.opengamma.financial.security.future.EnergyFutureSecurity._label = an energy future security
com.opengamma.financial.security.future.EnergyFutureSecurity._parameters = expiry, tradingExchange, settlementExchange, currency, commodityType

# IR Futures
com.opengamma.financial.security.future.InterestRateFutureSecurity._label = an IR future security
com.opengamma.financial.security.future.InterestRateFutureSecurity._parameters = expiry, tradingExchange, settlementExchange, currency, cashRateType
com.opengamma.financial.security.future.InterestRateFutureSecurity.cashRateType = cash rate type

# Options ########################################################################################

# Option base class
com.opengamma.financial.security.option.OptionSecurity._label = an option security
com.opengamma.financial.security.option.OptionSecurity.exerciseType = exercise type
com.opengamma.financial.security.option.OptionSecurity.payoffStyle = payoff style
com.opengamma.financial.security.option.OptionSecurity.optionType = option type
com.opengamma.financial.security.option.OptionSecurity.strike = strike price
com.opengamma.financial.security.option.OptionSecurity.expiry = expiry date
com.opengamma.financial.security.option.OptionSecurity.underlyingIdentifier = identifier of the underlying instrument
com.opengamma.financial.security.option.OptionSecurity.currency = currency

# FX Options
com.opengamma.financial.security.option.FXOptionSecurity._label = a FX option security
com.opengamma.financial.security.option.FXOptionSecurity._parameters = exerciseType, payoffStyle, optionType, strike, expiry, underlyingIdentifier, currency, counterparty, putCurrency, callCurrency
com.opengamma.financial.security.option.FXOptionSecurity.counterparty = counterparty
com.opengamma.financial.security.option.FXOptionSecurity.putCurrency = put currency
com.opengamma.financial.security.option.FXOptionSecurity.callCurrency = call currency

# Swaptions
com.opengamma.financial.security.option.SwaptionSecurity._label = a swaption security
com.opengamma.financial.security.option.SwaptionSecurity._parameters = exerciseType, payoffStyle, optionType, strike, expiry, underlyingIdentifier, currency

# Exercise types
com.opengamma.financial.security.option.AmericanExerciseType._description = Returns an object representing an American option exercise type
com.opengamma.financial.security.option.AsianExerciseType._description = Returns an object representing an Asian option exercise type
com.opengamma.financial.security.option.BermudanExerciseType._description = Returns an object representing a Bermudan option exercise type
com.opengamma.financial.security.option.EuropeanExerciseType._description = Returns an object representing an European option exercise type<commit_msg>Generate functions for EquityOption objects.<commit_after># Security base classes ##########################################################################

com.opengamma.master.security.ManageableSecurity._abstract = true
com.opengamma.master.security.ManageableSecurity._name = Security
com.opengamma.master.security.ManageableSecurity._label = a security
com.opengamma.master.security.ManageableSecurity.name = display name
com.opengamma.master.security.ManageableSecurity.securityType[type,r/o] = asset class
com.opengamma.master.security.ManageableSecurity.identifiers = identifiers for various schemes

# Equities #######################################################################################

com.opengamma.financial.security.equity.EquitySecurity._label = an equity security
com.opengamma.financial.security.equity.EquitySecurity._parameters = exchange, exchangeCode, companyName, currency
com.opengamma.financial.security.equity.EquitySecurity.exchange = exchange name
com.opengamma.financial.security.equity.EquitySecurity.exchangeCode = exchange code
com.opengamma.financial.security.equity.EquitySecurity.companyName = company name
com.opengamma.financial.security.equity.EquitySecurity.currency = currency
com.opengamma.financial.security.equity.EquitySecurity.shortName = short name
com.opengamma.financial.security.equity.EquitySecurity.gicsCode = GICS code

# FRAs ###########################################################################################

com.opengamma.financial.security.fra.FRASecurity._label = a forward rate agreement security
com.opengamma.financial.security.fra.FRASecurity._parameters = currency, region, startDate, endDate, rate, amount
com.opengamma.financial.security.fra.FRASecurity.currency = currency
com.opengamma.financial.security.fra.FRASecurity.region = region
com.opengamma.financial.security.fra.FRASecurity.startDate = start date
com.opengamma.financial.security.fra.FRASecurity.endDate = end date
com.opengamma.financial.security.fra.FRASecurity.rate = rate as a decimal (e.g. 5% = 0.05)
com.opengamma.financial.security.fra.FRASecurity.amount = notional amount

# Futures ########################################################################################

# Common base class
com.opengamma.financial.security.future.FutureSecurity._label = a future security
com.opengamma.financial.security.future.FutureSecurity.expiry = expiry date
com.opengamma.financial.security.future.FutureSecurity.tradingExchange = trading exchange
com.opengamma.financial.security.future.FutureSecurity.settlementExchange = settlement exchange
com.opengamma.financial.security.future.FutureSecurity.currency = currency

# Bond Futures
com.opengamma.financial.security.future.BondFutureDeliverable._description = Defines a deliverable for a bond future
com.opengamma.financial.security.future.BondFutureDeliverable._parameters = identifiers, conversionFactor
com.opengamma.financial.security.future.BondFutureDeliverable.identifiers = identifier bundle describing the deliverable
com.opengamma.financial.security.future.BondFutureDeliverable.conversionFactor = conversion factor
com.opengamma.financial.security.future.BondFutureSecurity._label = a bond future security
com.opengamma.financial.security.future.BondFutureSecurity._parameters = expiry, tradingExchange, settlementExchange, currency, basket, bondType, firstDeliveryDate, lastDeliveryDate
com.opengamma.financial.security.future.BondFutureSecurity.basket = basket of deliverables
com.opengamma.financial.security.future.BondFutureSecurity.bondType = type of the bond
com.opengamma.financial.security.future.BondFutureSecurity.firstDeliveryDate = first delivery date
com.opengamma.financial.security.future.BondFutureSecurity.lastDeliveryDate = last delivery date

# Commodity Futures
com.opengamma.financial.security.future.CommodityFutureSecurity.commodityType = commodity type
com.opengamma.financial.security.future.CommodityFutureSecurity.unitNumber = number of units
com.opengamma.financial.security.future.CommodityFutureSecurity.unitName  = name of units unitNumber is measured in 

# Energy Futures
com.opengamma.financial.security.future.EnergyFutureSecurity._label = an energy future security
com.opengamma.financial.security.future.EnergyFutureSecurity._parameters = expiry, tradingExchange, settlementExchange, currency, commodityType

# IR Futures
com.opengamma.financial.security.future.InterestRateFutureSecurity._label = an IR future security
com.opengamma.financial.security.future.InterestRateFutureSecurity._parameters = expiry, tradingExchange, settlementExchange, currency, cashRateType
com.opengamma.financial.security.future.InterestRateFutureSecurity.cashRateType = cash rate type

# Options ########################################################################################

# Option base class
com.opengamma.financial.security.option.OptionSecurity._label = an option security
com.opengamma.financial.security.option.OptionSecurity.exerciseType = exercise type
com.opengamma.financial.security.option.OptionSecurity.payoffStyle = payoff style
com.opengamma.financial.security.option.OptionSecurity.optionType = option type
com.opengamma.financial.security.option.OptionSecurity.strike = strike price
com.opengamma.financial.security.option.OptionSecurity.expiry = expiry date
com.opengamma.financial.security.option.OptionSecurity.underlyingIdentifier = identifier of the underlying instrument
com.opengamma.financial.security.option.OptionSecurity.currency = currency

# Equity Options
com.opengamma.financial.security.option.EquityOptionSecurity._label = an equity option security
com.opengamma.financial.security.option.EquityOptionSecurity._parameters = exerciseType, payoffStyle, optionType, strike, expiry, underlyingIdentifier, currency, pointValue, exchange
com.opengamma.financial.security.option.EquityOptionSecurity.pointValue = point value
com.opengamma.financial.security.option.EquityOptionSecurity.exchange = exchange

# FX Options
com.opengamma.financial.security.option.FXOptionSecurity._label = a FX option security
com.opengamma.financial.security.option.FXOptionSecurity._parameters = exerciseType, payoffStyle, optionType, strike, expiry, underlyingIdentifier, currency, counterparty, putCurrency, callCurrency
com.opengamma.financial.security.option.FXOptionSecurity.counterparty = counterparty
com.opengamma.financial.security.option.FXOptionSecurity.putCurrency = put currency
com.opengamma.financial.security.option.FXOptionSecurity.callCurrency = call currency

# Swaptions
com.opengamma.financial.security.option.SwaptionSecurity._label = a swaption security
com.opengamma.financial.security.option.SwaptionSecurity._parameters = exerciseType, payoffStyle, optionType, strike, expiry, underlyingIdentifier, currency

# Exercise types
com.opengamma.financial.security.option.AmericanExerciseType._description = Returns an object representing an American option exercise type
com.opengamma.financial.security.option.AsianExerciseType._description = Returns an object representing an Asian option exercise type
com.opengamma.financial.security.option.BermudanExerciseType._description = Returns an object representing a Bermudan option exercise type
com.opengamma.financial.security.option.EuropeanExerciseType._description = Returns an object representing an European option exercise type
{'fraction_non_alphanumeric': 0.13446796539841058, 'fraction_numerical': 0.0005626274702862367, 'mean_word_length': 7.60774818401937, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2567205', 'n_tokens_mistral': 3843, 'n_tokens_neox': 3732, 'n_words': 655}