The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Finance::Underlying - Object representation of a financial asset

SYNOPSIS

use Finance::Underlying;

my $underlying = Finance::Underlying->by_symbol('frxEURUSD');
print $underlying->pip_size, "\n";

DESCRIPTION

Provides metadata on financial assets such as forex pairs.

CLASS METHODS

all_underlyings

Returns a list of all underlyings, ordered by symbol.

symbols

Return sorted list of all symbols.

by_symbol

Look up the underlying for the given symbol, returning a Finance::Underlying instance.

ATTRIBUTES

asset

The asset being quoted, for example USD for the frxUSDJPY underlying.

display_name

User-friendly English name used for display purposes.

exchange_name

The symbol of the exchange this underlying is traded on.

See Finance::Exchange for more details.

instrument_type

Categorises the underlying, available values are:

market

The type of market for this underlying, for example forex for foreign exchange.

This will be one of the following:

market_convention

These should mirror Bloomberg's Composite vol data conventions.

For further information, see Foreign Exchange option pricing, by Iain J Clark, pages 47 onwards.

Types of volatility conventions available:

atm_setting

There are three types:

delta_premium_adjusted

There are two types:

delta_style

There are two delta convention available:

rr

Risk reversal:

bf

There are three types of butterfly available in Bloomberg setting:

pip_size

How large the spot pip is.

quoted_currency

The second half of a forex pair - indicates the currency that this underlying is quoted in, or the currency in which a stock or stock index is quoted.

submarket

Classification for the underlying, see also "market".

symbol

The symbol of the underlying, for example frxUSDJPY or WLDAUD.

SEE ALSO

AUTHOR

binary.com