Class: FTX::API::Account

Inherits:
Private show all
Defined in:
lib/ftx/api/account.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

#getObject



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

def get
  send_request(:get, "/account", {})
end

#positionsObject



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

def positions
  send_request(:get, "/positions", {})
end