Skip to content

Commit c9f9b40

Browse files
[Automated changes] JS files
1 parent 0e53bb8 commit c9f9b40

File tree

10 files changed

+46
-7
lines changed

10 files changed

+46
-7
lines changed

dist/ccxt.browser.js

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87754,6 +87754,9 @@ class blofin extends _abstract_blofin_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
8775487754
'api': {
8775587755
'rest': 'https://openapi.blofin.com',
8775687756
},
87757+
'test': {
87758+
'rest': 'https://demo-trading-openapi.blofin.com',
87759+
},
8775787760
'referral': {
8775887761
'url': 'https://blofin.com/register?referral_code=f79EsS',
8775987762
'discount': 0.05,
@@ -87911,6 +87914,7 @@ class blofin extends _abstract_blofin_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
8791187914
'attachedStopLossTakeProfit': {
8791287915
'triggerPriceType': undefined,
8791387916
'limit': true,
87917+
'price': undefined,
8791487918
},
8791587919
'hedged': true,
8791687920
},
@@ -124915,7 +124919,7 @@ class coinex extends _abstract_coinex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
124915124919
'currency': this.safeCurrencyCode(undefined, currency),
124916124920
'network': undefined,
124917124921
'address': address,
124918-
'tag': tag,
124922+
'tag': this.safeString(depositAddress, 'memo', tag),
124919124923
};
124920124924
}
124921124925
/**
@@ -150992,7 +150996,8 @@ class deribit extends _abstract_deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
150992150996
let paginate = false;
150993150997
[paginate, params] = this.handleOptionAndParams(params, 'fetchFundingRateHistory', 'paginate');
150994150998
if (paginate) {
150995-
return await this.fetchPaginatedCallDeterministic('fetchFundingRateHistory', symbol, since, limit, '8h', params, 720);
150999+
// 1h needed to fix : https://github.com/ccxt/ccxt/issues/25040
151000+
return await this.fetchPaginatedCallDeterministic('fetchFundingRateHistory', symbol, since, limit, '1h', params, 720);
150996151001
}
150997151002
let time = this.milliseconds();
150998151003
const month = 30 * 24 * 60 * 60 * 1000;
@@ -287793,6 +287798,14 @@ class blofin extends _blofin_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A
287793287798
},
287794287799
},
287795287800
},
287801+
'test': {
287802+
'ws': {
287803+
'swap': {
287804+
'public': 'wss://demo-trading-openapi.blofin.com/ws/public',
287805+
'private': 'wss://demo-trading-openapi.blofin.com/ws/private',
287806+
},
287807+
},
287808+
},
287796287809
},
287797287810
'options': {
287798287811
'defaultType': 'swap',

dist/ccxt.browser.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/cjs/src/blofin.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,9 @@ class blofin extends blofin$1 {
157157
'api': {
158158
'rest': 'https://openapi.blofin.com',
159159
},
160+
'test': {
161+
'rest': 'https://demo-trading-openapi.blofin.com',
162+
},
160163
'referral': {
161164
'url': 'https://blofin.com/register?referral_code=f79EsS',
162165
'discount': 0.05,
@@ -314,6 +317,7 @@ class blofin extends blofin$1 {
314317
'attachedStopLossTakeProfit': {
315318
'triggerPriceType': undefined,
316319
'limit': true,
320+
'price': undefined,
317321
},
318322
'hedged': true,
319323
},

dist/cjs/src/coinex.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3928,7 +3928,7 @@ class coinex extends coinex$1 {
39283928
'currency': this.safeCurrencyCode(undefined, currency),
39293929
'network': undefined,
39303930
'address': address,
3931-
'tag': tag,
3931+
'tag': this.safeString(depositAddress, 'memo', tag),
39323932
};
39333933
}
39343934
/**

dist/cjs/src/deribit.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3171,7 +3171,8 @@ class deribit extends deribit$1 {
31713171
let paginate = false;
31723172
[paginate, params] = this.handleOptionAndParams(params, 'fetchFundingRateHistory', 'paginate');
31733173
if (paginate) {
3174-
return await this.fetchPaginatedCallDeterministic('fetchFundingRateHistory', symbol, since, limit, '8h', params, 720);
3174+
// 1h needed to fix : https://github.com/ccxt/ccxt/issues/25040
3175+
return await this.fetchPaginatedCallDeterministic('fetchFundingRateHistory', symbol, since, limit, '1h', params, 720);
31753176
}
31763177
let time = this.milliseconds();
31773178
const month = 30 * 24 * 60 * 60 * 1000;

dist/cjs/src/pro/blofin.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@ class blofin extends blofin$1 {
3434
},
3535
},
3636
},
37+
'test': {
38+
'ws': {
39+
'swap': {
40+
'public': 'wss://demo-trading-openapi.blofin.com/ws/public',
41+
'private': 'wss://demo-trading-openapi.blofin.com/ws/private',
42+
},
43+
},
44+
},
3745
},
3846
'options': {
3947
'defaultType': 'swap',

js/src/blofin.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,9 @@ export default class blofin extends Exchange {
160160
'api': {
161161
'rest': 'https://openapi.blofin.com',
162162
},
163+
'test': {
164+
'rest': 'https://demo-trading-openapi.blofin.com',
165+
},
163166
'referral': {
164167
'url': 'https://blofin.com/register?referral_code=f79EsS',
165168
'discount': 0.05,
@@ -317,6 +320,7 @@ export default class blofin extends Exchange {
317320
'attachedStopLossTakeProfit': {
318321
'triggerPriceType': undefined,
319322
'limit': true,
323+
'price': undefined,
320324
},
321325
'hedged': true,
322326
},

js/src/coinex.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3931,7 +3931,7 @@ export default class coinex extends Exchange {
39313931
'currency': this.safeCurrencyCode(undefined, currency),
39323932
'network': undefined,
39333933
'address': address,
3934-
'tag': tag,
3934+
'tag': this.safeString(depositAddress, 'memo', tag),
39353935
};
39363936
}
39373937
/**

js/src/deribit.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3174,7 +3174,8 @@ export default class deribit extends Exchange {
31743174
let paginate = false;
31753175
[paginate, params] = this.handleOptionAndParams(params, 'fetchFundingRateHistory', 'paginate');
31763176
if (paginate) {
3177-
return await this.fetchPaginatedCallDeterministic('fetchFundingRateHistory', symbol, since, limit, '8h', params, 720);
3177+
// 1h needed to fix : https://github.com/ccxt/ccxt/issues/25040
3178+
return await this.fetchPaginatedCallDeterministic('fetchFundingRateHistory', symbol, since, limit, '1h', params, 720);
31783179
}
31793180
let time = this.milliseconds();
31803181
const month = 30 * 24 * 60 * 60 * 1000;

js/src/pro/blofin.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@ export default class blofin extends blofinRest {
3737
},
3838
},
3939
},
40+
'test': {
41+
'ws': {
42+
'swap': {
43+
'public': 'wss://demo-trading-openapi.blofin.com/ws/public',
44+
'private': 'wss://demo-trading-openapi.blofin.com/ws/private',
45+
},
46+
},
47+
},
4048
},
4149
'options': {
4250
'defaultType': 'swap',

0 commit comments

Comments
 (0)