Class: Bitflyer::Cli::Runner

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

Instance Method Summary collapse

Instance Method Details

#cancel_allObject



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

def cancel_all
  CancelAllCommand.new.run
end

#counter_tradeObject



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

def counter_trade
  CounterTradeCommand.new.run
end

#ifdoco_by_rangeObject



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

def ifdoco_by_range
  IFDOCOByRangeCommand.new.run(options)
end

#order_by_bestObject



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

def order_by_best
  OrderByBestCommand.new.run(options)
end

#order_by_twapObject



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

def order_by_twap
  OrderByTWAPCommand.new.run(options)
end

#stop_by_rangeObject



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

def stop_by_range
  StopByRangeCommand.new.run(options)
end

#summaryObject



58
59
60
# File 'lib/bitflyer/cli.rb', line 58

def summary
  SummaryCommand.new.run
end