bitfinexcom/bfx-hf-algo-server

Refactor/Feature: Rename/Add Commands

Opened this issue · 0 comments

f3rno commented

Issue type

  • bug
  • missing functionality
  • performance
  • feature request

Brief description

Currently the server supports the following commands:

const cmdMap = {
  'get.aos': getAllAOs,
  'submit.ao': submitAO,
  'stop.ao': stopAO,
}

I propose we change this to:

const cmdMap = {
  'ao.status': getAOStatus,
  'ao.get.all': getAllAOs,
  'ao.get': getAOByID,
  'ao.start': startAO,
  'ao.stop': stopAO,
}