Class: CancelAllCommand

Inherits:
Object
  • Object
show all
Includes:
HasHTTPClient
Defined in:
lib/bitflyer/cli/command/cancel_all_command.rb

Instance Method Summary collapse

Methods included from HasHTTPClient

#http_private_client, #http_public_client

Methods included from Authorization

#api_key, #api_secret

Instance Method Details

#runObject



6
7
8
# File 'lib/bitflyer/cli/command/cancel_all_command.rb', line 6

def run
  http_private_client.cancel_all_child_orders(product_code: 'FX_BTC_JPY')
end