Skip to content
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.

Commit

Permalink
WIP 24hr data
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartax committed Apr 23, 2020
1 parent 5ed4d18 commit fb8732e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class Binance extends utils.Adapter {
* The main update method
*/
main() {
//this.requestPrices();
this.requestPrices();
if (this.config.symbols) this.request24hr();
if (this.config.apiKey && this.config.apiKeySecret) this.requestAccount();
}
Expand All @@ -59,7 +59,6 @@ class Binance extends utils.Adapter {
timeout: 5000
},
(error, response, content) => {
this.log.info(content);
if (!error) {
if (response.statusCode == 200) {
this.log.info('received 24hr data for ' + symbol);
Expand Down

0 comments on commit fb8732e

Please sign in to comment.