codechain-exchange icon indicating copy to clipboard operation
codechain-exchange copied to clipboard

API for getting the order book

Open posgnu opened this issue 6 years ago • 1 comments

  • find(field) - find order by given field
  • getOrderBook(range: number, marketPrice: number) - get range number of orders which is placed up or down side on the basis of the market price.

posgnu avatar Dec 06 '18 06:12 posgnu

  • [ ] Change to use a web socket, in case of having many users.

posgnu avatar Dec 13 '18 04:12 posgnu