sdk.lusid.models.market_options.MarketOptions

class MarketOptions(default_supplier=None, default_instrument_code_type=None, default_scope=None, attempt_to_infer_missing_fx=None, calendar_scope=None, convention_scope=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

MarketOptions - a model defined in OpenAPI”

Parameters:
  • default_supplier (str) – The default supplier of data. This controls which ‘dialect’ is used to find particular market data. e.g. one supplier might address data by RIC, another by PermId

  • default_instrument_code_type (str) – When instrument quotes are searched for, what identifier should be used by default

  • default_scope (str) – For default rules, which scope should data be searched for in (required)

  • attempt_to_infer_missing_fx (bool) – if true will calculate a missing Fx pair (e.g. THBJPY) from the inverse JPYTHB or from standardised pairs against USD, e.g. THBUSD and JPYUSD

  • calendar_scope (str) – The scope in which holiday calendars stored

  • convention_scope (str) – The scope in which conventions stored

Methods

to_dict

Returns the model properties as a dict

to_str

Returns the string representation of the model

Attributes

attempt_to_infer_missing_fx

E501

attribute_map

calendar_scope

E501

convention_scope

E501

default_instrument_code_type

E501

default_scope

E501

default_supplier

E501

openapi_types

required_map

property attempt_to_infer_missing_fx

E501

if true will calculate a missing Fx pair (e.g. THBJPY) from the inverse JPYTHB or from standardised pairs against USD, e.g. THBUSD and JPYUSD # noqa: E501

Returns:

The attempt_to_infer_missing_fx of this MarketOptions. # noqa: E501

Return type:

bool

Type:

Gets the attempt_to_infer_missing_fx of this MarketOptions. # noqa

property calendar_scope

E501

The scope in which holiday calendars stored # noqa: E501

Returns:

The calendar_scope of this MarketOptions. # noqa: E501

Return type:

str

Type:

Gets the calendar_scope of this MarketOptions. # noqa

property convention_scope

E501

The scope in which conventions stored # noqa: E501

Returns:

The convention_scope of this MarketOptions. # noqa: E501

Return type:

str

Type:

Gets the convention_scope of this MarketOptions. # noqa

property default_instrument_code_type

E501

When instrument quotes are searched for, what identifier should be used by default # noqa: E501

Returns:

The default_instrument_code_type of this MarketOptions. # noqa: E501

Return type:

str

Type:

Gets the default_instrument_code_type of this MarketOptions. # noqa

property default_scope

E501

For default rules, which scope should data be searched for in # noqa: E501

Returns:

The default_scope of this MarketOptions. # noqa: E501

Return type:

str

Type:

Gets the default_scope of this MarketOptions. # noqa

property default_supplier

E501

The default supplier of data. This controls which ‘dialect’ is used to find particular market data. e.g. one supplier might address data by RIC, another by PermId # noqa: E501

Returns:

The default_supplier of this MarketOptions. # noqa: E501

Return type:

str

Type:

Gets the default_supplier of this MarketOptions. # noqa

to_dict(serialize=False)[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model