Class: Quickfix::Commission

Inherits:
DoubleField
  • Object
show all
Defined in:
lib/quickfix_fields.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from DoubleField

#getValue, #setValue

Constructor Details

#initialize(data = nil) ⇒ Commission

Returns a new instance of Commission.



1020
1021
1022
1023
1024
1025
1026
# File 'lib/quickfix_fields.rb', line 1020

def initialize(data = nil)
  if( data == nil )
    super(12)
  else
    super(12, data)
  end
end

Class Method Details

.fieldObject



1017
1018
1019
# File 'lib/quickfix_fields.rb', line 1017

def Commission.field
  return 12
end