Class: FTX::API::Funding

Inherits:
Private show all
Defined in:
lib/ftx/api/funding.rb

Instance Attribute Summary

Attributes inherited from Base

#config, #key, #secret

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from FTX::API::Base

Instance Method Details

#payments(query = {}) ⇒ Object



7
8
9
# File 'lib/ftx/api/funding.rb', line 7

def payments(query = {})
  send_request(:get, '/funding_payments', query)
end

#rates(query = {}) ⇒ Object



11
12
13
# File 'lib/ftx/api/funding.rb', line 11

def rates(query = {})
  send_request(:get, '/funding_rates', query)
end