Skip to content

Commit

Permalink
fix huobi ticker volume
Browse files Browse the repository at this point in the history
  • Loading branch information
itxtoledo committed Jul 19, 2022
1 parent 448b6c1 commit ddca85b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@coinsamba/js-exchanges-connector",
"description": "Collection of JavaScript implementations of cryptocurrency exchange APIs",
"version": "1.1.6",
"version": "1.1.7",
"repository": "[email protected]:coinsambacom/js-exchanges-connector.git",
"author": "Gustavo <[email protected]>",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions src/connectors/huobi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class huobi<T> extends Exchange<T> {
last: t.close,
ask: t.ask,
bid: t.bid,
vol: t.vol,
vol: t.amount,
});
}
}
Expand All @@ -98,7 +98,7 @@ export class huobi<T> extends Exchange<T> {
last: res.close,
ask: res.ask[0],
bid: res.bid[0],
vol: res.vol,
vol: res.amount,
};
}

Expand Down

0 comments on commit ddca85b

Please sign in to comment.