Class: Bitflyer::Cli::Runner

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

Instance Method Summary collapse

Instance Method Details

#cancel_allObject



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

def cancel_all
  CancelAllCommand.new.run
end

#counter_tradeObject



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

def counter_trade
  CounterTradeCommand.new.run
end

#ifdoco_by_rangeObject



51
52
53
# File 'lib/bitflyer/cli.rb', line 51

def ifdoco_by_range
  IFDOCOByRangeCommand.new.run(options)
end

#order_by_bestObject



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

def order_by_best
  OrderByBestCommand.new.run(options)
end

#order_by_twapObject



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

def order_by_twap
  OrderByTWAPCommand.new.run(options)
end

#stop_by_rangeObject



42
43
44
# File 'lib/bitflyer/cli.rb', line 42

def stop_by_range
  StopByRangeCommand.new.run(options)
end

#summaryObject



56
57
58
# File 'lib/bitflyer/cli.rb', line 56

def summary
  SummaryCommand.new.run
end