Class: FTX::API::Account
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
#get ⇒ Object
7
8
9
|
# File 'lib/ftx/api/account.rb', line 7
def get
send_request(:get, "/account", {})
end
|
#positions ⇒ Object
11
12
13
|
# File 'lib/ftx/api/account.rb', line 11
def positions
send_request(:get, "/positions", {})
end
|