Class: Bibox::Models::Trade

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

Constant Summary collapse

MAPPING =
{
  pair:      :string,
  price:     :float,
  amount:    :float,
  time:      :time,
  side:      {enum: {1 => :buy, 2 => :sell}}
}

Method Summary

Methods inherited from Base

#attributes, #initialize, parse

Constructor Details

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