Class: MoexDictionaryObjects::Market

Inherits:
MoexDictionaryObject
  • Object
show all
Defined in:
app/models/moex_dictionary_objects/market.rb

Overview

Moex market from api

Examples:

Params

{ external_id: "1",
  data: { "id": 1, "trade_engine_id": 1, "trade_engine_name": "stock",
          "trade_engine_title": "Фондовый рынок и рынок депозитов",
          "market_name": "shares", "market_title": "Рынок акций",
          "market_id": 1, "marketplace": "MXSE" } }

See Also:

Instance Method Summary collapse

Instance Method Details

#internal_nameString

Name used in api

Returns:

  • (String)

    name for api


41
42
43
# File 'app/models/moex_dictionary_objects/market.rb', line 41

def internal_name
  data_market_name
end

#public_nameString

Name used in interfaces

Returns:

  • (String)

    public name


47
48
49
# File 'app/models/moex_dictionary_objects/market.rb', line 47

def public_name
  data_market_title
end