Class: Radar::API::Position
- Inherits:
-
Object
- Object
- Radar::API::Position
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/radar/api/radar_types.rb
Constant Summary collapse
- ID =
1- VALUE =
2- RENTABILITY =
3- AVG_PRICE =
4- SHARES =
5- FIELDS =
{ ID => {:type => ::Thrift::Types::STRUCT, :name => 'id', :class => ::Radar::API::SecurityId}, VALUE => {:type => ::Thrift::Types::DOUBLE, :name => 'value'}, RENTABILITY => {:type => ::Thrift::Types::DOUBLE, :name => 'rentability'}, AVG_PRICE => {:type => ::Thrift::Types::DOUBLE, :name => 'avg_price'}, SHARES => {:type => ::Thrift::Types::DOUBLE, :name => 'shares'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
528 |
# File 'lib/radar/api/radar_types.rb', line 528 def struct_fields; FIELDS; end |
#validate ⇒ Object
530 531 |
# File 'lib/radar/api/radar_types.rb', line 530 def validate end |