Skip to content

Commit

Permalink
timeframe signature - all exchanges updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ttodua committed Sep 27, 2022
1 parent 549368b commit 1fb144c
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion js/bitbank.js
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ module.exports = class bitbank extends Exchange {
];
}

async fetchOHLCV (symbol, timeframe = '5m', since = undefined, limit = undefined, params = {}) {
async fetchOHLCV (symbol, timeframe = '1m', since = undefined, limit = undefined, params = {}) {
/**
* @method
* @name bitbank#fetchOHLCV
Expand Down
2 changes: 1 addition & 1 deletion js/bitopro.js
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ module.exports = class bitopro extends Exchange {
];
}

async fetchOHLCV (symbol, timeframe = '5m', since = undefined, limit = undefined, params = {}) {
async fetchOHLCV (symbol, timeframe = '1m', since = undefined, limit = undefined, params = {}) {
/**
* @method
* @name bitopro#fetchOHLCV
Expand Down
2 changes: 1 addition & 1 deletion js/bitstamp.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// ---------------------------------------------------------------------------

const Exchange = require ('./base/Exchange');
const { AuthenticationError, BadRequest, ExchangeError, NotSupported, PermissionDenied, InvalidNonce, OrderNotFound, InsufficientFunds, InvalidAddress, InvalidOrder, ArgumentsRequired, OnMaintenance, ExchangeNotAvailable } = require ('./base/errors');
const { AuthenticationError, BadRequest, ExchangeError, NotSupported, PermissionDenied, InvalidNonce, OrderNotFound, InsufficientFunds, InvalidAddress, InvalidOrder, OnMaintenance, ExchangeNotAvailable } = require ('./base/errors');
const { TICK_SIZE } = require ('./base/functions/number');
const Precise = require ('./base/Precise');

Expand Down
2 changes: 1 addition & 1 deletion js/btcalpha.js
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ module.exports = class btcalpha extends Exchange {
];
}

async fetchOHLCV (symbol, timeframe = '5m', since = undefined, limit = undefined, params = {}) {
async fetchOHLCV (symbol, timeframe = '1m', since = undefined, limit = undefined, params = {}) {
/**
* @method
* @name btcalpha#fetchOHLCV
Expand Down
2 changes: 1 addition & 1 deletion js/coinex.js
Original file line number Diff line number Diff line change
Expand Up @@ -1195,7 +1195,7 @@ module.exports = class coinex extends Exchange {
];
}

async fetchOHLCV (symbol, timeframe = '5m', since = undefined, limit = undefined, params = {}) {
async fetchOHLCV (symbol, timeframe = '1m', since = undefined, limit = undefined, params = {}) {
/**
* @method
* @name coinex#fetchOHLCV
Expand Down
2 changes: 1 addition & 1 deletion js/gemini.js
Original file line number Diff line number Diff line change
Expand Up @@ -1525,7 +1525,7 @@ module.exports = class gemini extends Exchange {
};
}

async fetchOHLCV (symbol, timeframe = '5m', since = undefined, limit = undefined, params = {}) {
async fetchOHLCV (symbol, timeframe = '1m', since = undefined, limit = undefined, params = {}) {
/**
* @method
* @name gemini#fetchOHLCV
Expand Down
2 changes: 1 addition & 1 deletion js/hollaex.js
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ module.exports = class hollaex extends Exchange {
return result;
}

async fetchOHLCV (symbol, timeframe = '1h', since = undefined, limit = undefined, params = {}) {
async fetchOHLCV (symbol, timeframe = '1m', since = undefined, limit = undefined, params = {}) {
/**
* @method
* @name hollaex#fetchOHLCV
Expand Down
2 changes: 1 addition & 1 deletion js/kucoin.js
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,7 @@ module.exports = class kucoin extends Exchange {
];
}

async fetchOHLCV (symbol, timeframe = '15m', since = undefined, limit = undefined, params = {}) {
async fetchOHLCV (symbol, timeframe = '1m', since = undefined, limit = undefined, params = {}) {
/**
* @method
* @name kucoin#fetchOHLCV
Expand Down
2 changes: 1 addition & 1 deletion js/kucoinfutures.js
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ module.exports = class kucoinfutures extends kucoin {
return this.safeNumber (response, 'data');
}

async fetchOHLCV (symbol, timeframe = '15m', since = undefined, limit = undefined, params = {}) {
async fetchOHLCV (symbol, timeframe = '1m', since = undefined, limit = undefined, params = {}) {
/**
* @method
* @name kucoinfutures#fetchOHLCV
Expand Down
2 changes: 1 addition & 1 deletion js/lbank.js
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ module.exports = class lbank extends Exchange {
];
}

async fetchOHLCV (symbol, timeframe = '5m', since = undefined, limit = 1000, params = {}) {
async fetchOHLCV (symbol, timeframe = '1m', since = undefined, limit = 1000, params = {}) {
/**
* @method
* @name lbank#fetchOHLCV
Expand Down
2 changes: 1 addition & 1 deletion js/mercado.js
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ module.exports = class mercado extends Exchange {
];
}

async fetchOHLCV (symbol, timeframe = '5m', since = undefined, limit = undefined, params = {}) {
async fetchOHLCV (symbol, timeframe = '1m', since = undefined, limit = undefined, params = {}) {
/**
* @method
* @name mercado#fetchOHLCV
Expand Down
2 changes: 1 addition & 1 deletion js/poloniex.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ module.exports = class poloniex extends Exchange {
];
}

async fetchOHLCV (symbol, timeframe = '5m', since = undefined, limit = undefined, params = {}) {
async fetchOHLCV (symbol, timeframe = '1m', since = undefined, limit = undefined, params = {}) {
/**
* @method
* @name poloniex#fetchOHLCV
Expand Down
2 changes: 1 addition & 1 deletion js/stex.js
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ module.exports = class stex extends Exchange {
];
}

async fetchOHLCV (symbol, timeframe = '1d', since = undefined, limit = undefined, params = {}) {
async fetchOHLCV (symbol, timeframe = '1m', since = undefined, limit = undefined, params = {}) {
/**
* @method
* @name stex#fetchOHLCV
Expand Down
2 changes: 1 addition & 1 deletion js/woo.js
Original file line number Diff line number Diff line change
Expand Up @@ -1045,7 +1045,7 @@ module.exports = class woo extends Exchange {
return this.parseOrderBook (response, symbol, timestamp, 'bids', 'asks', 'price', 'quantity');
}

async fetchOHLCV (symbol, timeframe = '1h', since = undefined, limit = undefined, params = {}) {
async fetchOHLCV (symbol, timeframe = '1m', since = undefined, limit = undefined, params = {}) {
/**
* @method
* @name woo#fetchOHLCV
Expand Down

0 comments on commit 1fb144c

Please sign in to comment.