@ex-master/core
Advanced tools
Comparing version 0.1.14 to 0.1.15
@@ -175,3 +175,3 @@ "use strict"; | ||
// Within the ranges of debouncing uppers and lowers. | ||
this.dashboard.verbose(`order update for "${active.label}" ignored due to debouncing.`); | ||
this.dashboard.verbose(`order update for [${stringifyMarket(market)}] "${active.label}" ignored due to debouncing.`); | ||
return undefined; | ||
@@ -290,3 +290,3 @@ } | ||
async order(market, { label, type, price, size, priority }) { | ||
this.dashboard.info(`[${stringifyMarket(market)}] create order "${label}" ${price} * ${size}`); | ||
this.dashboard.info(`create order [${stringifyMarket(market)}] "${label}" ${price} * ${size}`); | ||
let order = await this.client.order(market, type, price, size); | ||
@@ -305,3 +305,3 @@ this.account.onOrderCreate(order); | ||
async cancelOrder({ id, label, market, }) { | ||
this.dashboard.info(`[${stringifyMarket(market)}] cancel order "${label}"`); | ||
this.dashboard.info(`cancel order [${stringifyMarket(market)}] "${label}"`); | ||
let order = await this.client.cancelOrder(market, id); | ||
@@ -308,0 +308,0 @@ if (!order) { |
{ | ||
"name": "@ex-master/core", | ||
"version": "0.1.14", | ||
"version": "0.1.15", | ||
"main": "bld/index.js", | ||
@@ -5,0 +5,0 @@ "types": "bld/index.d.ts", |
32849