Class: Bitflyer::CLI

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

Instance Method Summary collapse

Instance Method Details

#cancel_allObject



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

def cancel_all
  CancelAllCommand.new.run
end

#counter_tradeObject



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

def counter_trade
  CounterTradeCommand.new.run
end

#order_by_bestObject



24
25
26
# File 'lib/bitflyer/cli.rb', line 24

def order_by_best
  OrderByBestCommand.new.run(options)
end

#order_by_twapObject



33
34
35
# File 'lib/bitflyer/cli.rb', line 33

def order_by_twap
  OrderByTWAPCommand.new.run(options)
end

#stop_by_rangeObject



39
40
41
# File 'lib/bitflyer/cli.rb', line 39

def stop_by_range
  StopByRangeCommand.new.run(options)
end

#summaryObject



44
45
46
# File 'lib/bitflyer/cli.rb', line 44

def summary
  SummaryCommand.new.run
end