File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ module.exports = class bitflyer extends Exchange {
298298
299299 async fetchOrders ( symbol = undefined , since = undefined , limit = 100 , params = { } ) {
300300 if ( typeof symbol === 'undefined' )
301- throw new ExchangeError ( this . id + ' cancelOrder () requires a symbol argument' ) ;
301+ throw new ExchangeError ( this . id + ' fetchOrders () requires a symbol argument' ) ;
302302 await this . loadMarkets ( ) ;
303303 let request = {
304304 'product_code' : this . marketId ( symbol ) ,
@@ -313,7 +313,7 @@ module.exports = class bitflyer extends Exchange {
313313
314314 async fetchOrder ( id , symbol = undefined , params = { } ) {
315315 if ( typeof symbol === 'undefined' )
316- throw new ExchangeError ( this . id + ' cancelOrder () requires a symbol argument' ) ;
316+ throw new ExchangeError ( this . id + ' fetchOrder () requires a symbol argument' ) ;
317317 let orders = await this . fetchOrders ( symbol ) ;
318318 let ordersById = this . indexBy ( orders , 'id' ) ;
319319 if ( id in ordersById )
You can’t perform that action at this time.
0 commit comments