Class: Bitflyer::CLI

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

Instance Method Summary collapse

Instance Method Details

#cancel_allObject



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

def cancel_all
  CancelAllCommand.new.run
end

#counter_tradeObject



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

def counter_trade
  CounterTradeCommand.new.run
end

#ifdoco_by_rangeObject



49
50
51
# File 'lib/bitflyer/cli.rb', line 49

def ifdoco_by_range
  IFDOCOByRangeCommand.new.run(options)
end

#order_by_bestObject



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

def order_by_best
  OrderByBestCommand.new.run(options)
end

#order_by_twapObject



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

def order_by_twap
  OrderByTWAPCommand.new.run(options)
end

#stop_by_rangeObject



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

def stop_by_range
  StopByRangeCommand.new.run(options)
end

#summaryObject



54
55
56
# File 'lib/bitflyer/cli.rb', line 54

def summary
  SummaryCommand.new.run
end