Class: Bitflyer::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/bitflyer/cli.rb

Instance Method Summary collapse

Instance Method Details

#cancel_allObject



16
17
18
# File 'lib/bitflyer/cli.rb', line 16

def cancel_all
  CancelAllCommand.new.run
end

#counter_tradeObject



21
22
23
# File 'lib/bitflyer/cli.rb', line 21

def counter_trade
  CounterTradeCommand.new.run
end

#order_by_bestObject



28
29
30
# File 'lib/bitflyer/cli.rb', line 28

def order_by_best
  OrderByBestCommand.new.run(options)
end

#order_by_twapObject



37
38
39
# File 'lib/bitflyer/cli.rb', line 37

def order_by_twap
  OrderByTWAPCommand.new.run(options)
end

#summaryObject



11
12
13
# File 'lib/bitflyer/cli.rb', line 11

def summary
  SummaryCommand.new.run
end