Class: Radar::API::Portfolio

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/radar/api/radar_types.rb

Constant Summary collapse

DATE =
1
RENTABILITY =
2
3
POSITIONS =
4
FIELDS =
{
  DATE => {:type => ::Thrift::Types::I32, :name => 'date'},
  RENTABILITY => {:type => ::Thrift::Types::DOUBLE, :name => 'rentability'},
  NAV => {:type => ::Thrift::Types::DOUBLE, :name => 'nav'},
  POSITIONS => {:type => ::Thrift::Types::MAP, :name => 'positions', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRUCT, :class => ::Radar::API::Position}}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



503
# File 'lib/radar/api/radar_types.rb', line 503

def struct_fields; FIELDS; end

#validateObject



505
506
# File 'lib/radar/api/radar_types.rb', line 505

def validate
end