Class: Bibox::Models::Contract

Inherits:
Base
  • Object
show all
Defined in:
lib/bibox/models/contract.rb

Constant Summary collapse

MAPPING =
{
  id:             :integer,
  pair:           :string,
  value:          :float,
  coin_symbol:    :string,
  
  offset_normal:  :float,
  offset_short:   :float,
  offset_long:    :float,
  normal_dx:      :float,
  
  created_at:     :datetime,
  updated_at:     :datetime
}

Method Summary

Methods inherited from Base

#attributes, #initialize, parse

Constructor Details

This class inherits a constructor from Bibox::Models::Base