Skip to content

Commit

Permalink
4.1.97
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Travis CI committed Dec 23, 2023
1 parent b862676 commit f279fec
Show file tree
Hide file tree
Showing 447 changed files with 2,129 additions and 1,779 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,13 +208,13 @@ console.log(version, Object.keys(exchanges));

All-in-one browser bundle (dependencies included), served from a CDN of your choice:

* jsDelivr: https://cdn.jsdelivr.net/npm/[email protected].96/dist/ccxt.browser.js
* unpkg: https://unpkg.com/[email protected].96/dist/ccxt.browser.js
* jsDelivr: https://cdn.jsdelivr.net/npm/[email protected].97/dist/ccxt.browser.js
* unpkg: https://unpkg.com/[email protected].97/dist/ccxt.browser.js

CDNs are not updated in real-time and may have delays. Defaulting to the most recent version without specifying the version number is not recommended. Please, keep in mind that we are not responsible for the correct operation of those CDN servers.

```HTML
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/[email protected].96/dist/ccxt.browser.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/[email protected].97/dist/ccxt.browser.js"></script>
```

Creates a global `ccxt` object:
Expand Down
2,317 changes: 1,172 additions & 1,145 deletions dist/ccxt.browser.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/ccxt.browser.min.js

Large diffs are not rendered by default.

236 changes: 140 additions & 96 deletions dist/ccxt.bundle.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/cjs/ccxt.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ var woo$1 = require('./src/pro/woo.js');

//-----------------------------------------------------------------------------
// this is updated by vss.js when building
const version = '4.1.96';
const version = '4.1.97';
Exchange["default"].ccxtVersion = version;
const exchanges = {
'ace': ace,
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/src/ace.js
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ class ace extends ace$1 {
* @see https://github.com/ace-exchange/ace-official-api-docs/blob/master/api_v2.md#open-api---order-list
* @param {string} symbol unified market symbol of the market orders were made in
* @param {int} [since] the earliest time in ms to fetch orders for
* @param {int} [limit] the maximum number of orde structures to retrieve
* @param {int} [limit] the maximum number of order structures to retrieve
* @param {object} [params] extra parameters specific to the exchange API endpoint
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/src/ascendex.js
Original file line number Diff line number Diff line change
Expand Up @@ -1989,7 +1989,7 @@ class ascendex extends ascendex$1 {
* @see https://ascendex.github.io/ascendex-futures-pro-api-v2/#list-current-history-orders
* @param {string} symbol unified market symbol of the market orders were made in
* @param {int} [since] the earliest time in ms to fetch orders for
* @param {int} [limit] the maximum number of orde structures to retrieve
* @param {int} [limit] the maximum number of order structures to retrieve
* @param {object} [params] extra parameters specific to the exchange API endpoint
* @param {int} [params.until] the latest time in ms to fetch orders for
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
Expand Down
4 changes: 2 additions & 2 deletions dist/cjs/src/bigone.js
Original file line number Diff line number Diff line change
Expand Up @@ -1363,7 +1363,7 @@ class bigone extends bigone$1 {
* @description fetches information on multiple orders made by the user
* @param {string} symbol unified market symbol of the market orders were made in
* @param {int} [since] the earliest time in ms to fetch orders for
* @param {int} [limit] the maximum number of orde structures to retrieve
* @param {int} [limit] the maximum number of order structures to retrieve
* @param {object} [params] extra parameters specific to the exchange API endpoint
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
*/
Expand Down Expand Up @@ -1498,7 +1498,7 @@ class bigone extends bigone$1 {
* @description fetches information on multiple closed orders made by the user
* @param {string} symbol unified market symbol of the market orders were made in
* @param {int} [since] the earliest time in ms to fetch orders for
* @param {int} [limit] the maximum number of orde structures to retrieve
* @param {int} [limit] the maximum number of order structures to retrieve
* @param {object} [params] extra parameters specific to the exchange API endpoint
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
*/
Expand Down
43 changes: 42 additions & 1 deletion dist/cjs/src/bingx.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,16 @@ class bingx extends bingx$1 {
},
},
'swap': {
'v1': {
'private': {
'get': {
'positionSide/dual': 1,
},
'post': {
'positionSide/dual': 1,
},
},
},
'v2': {
'public': {
'get': {
Expand Down Expand Up @@ -2470,7 +2480,7 @@ class bingx extends bingx$1 {
* @see https://bingx-api.github.io/docs/#/standard/contract-interface.html#Historical%20order
* @param {string} [symbol] unified market symbol of the market orders were made in
* @param {int} [since] the earliest time in ms to fetch orders for
* @param {int} [limit] the maximum number of orde structures to retrieve
* @param {int} [limit] the maximum number of order structures to retrieve
* @param {object} [params] extra parameters specific to the exchange API endpoint
* @param {int} [params.until] the latest time in ms to fetch orders for
* @param {boolean} [params.standard] whether to fetch standard contract orders
Expand Down Expand Up @@ -3413,6 +3423,37 @@ class bingx extends bingx$1 {
}
return positions;
}
async setPositionMode(hedged, symbol = undefined, params = {}) {
/**
* @method
* @name bingx#setPositionMode
* @description set hedged to true or false for a market
* @see https://bingx-api.github.io/docs/#/en-us/swapV2/trade-api.html#Set%20Position%20Mode
* @param {bool} hedged set to true to use dualSidePosition
* @param {string} symbol not used by bingx setPositionMode ()
* @param {object} [params] extra parameters specific to the exchange API endpoint
* @returns {object} response from the exchange
*/
let dualSidePosition = undefined;
if (hedged) {
dualSidePosition = 'true';
}
else {
dualSidePosition = 'false';
}
const request = {
'dualSidePosition': dualSidePosition,
};
//
// {
// code: '0',
// msg: '',
// timeStamp: '1703327432734',
// data: { dualSidePosition: 'false' }
// }
//
return await this.swapV1PrivatePostPositionSideDual(this.extend(request, params));
}
sign(path, section = 'public', method = 'GET', params = {}, headers = undefined, body = undefined) {
const type = section[0];
const version = section[1];
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/src/bitfinex.js
Original file line number Diff line number Diff line change
Expand Up @@ -1238,7 +1238,7 @@ class bitfinex extends bitfinex$1 {
* @description fetches information on multiple closed orders made by the user
* @param {string} symbol unified market symbol of the market orders were made in
* @param {int} [since] the earliest time in ms to fetch orders for
* @param {int} [limit] the maximum number of orde structures to retrieve
* @param {int} [limit] the maximum number of order structures to retrieve
* @param {object} [params] extra parameters specific to the exchange API endpoint
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/src/bitfinex2.js
Original file line number Diff line number Diff line change
Expand Up @@ -1813,7 +1813,7 @@ class bitfinex2 extends bitfinex2$1 {
* @see https://docs.bitfinex.com/reference/rest-auth-retrieve-orders-by-symbol
* @param {string} symbol unified market symbol of the market orders were made in
* @param {int} [since] the earliest time in ms to fetch orders for
* @param {int} [limit] the maximum number of orde structures to retrieve
* @param {int} [limit] the maximum number of order structures to retrieve
* @param {object} [params] extra parameters specific to the exchange API endpoint
* @param {int} [params.until] the latest time in ms to fetch entries for
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
Expand Down
4 changes: 2 additions & 2 deletions dist/cjs/src/bitflyer.js
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ class bitflyer extends bitflyer$1 {
* @see https://lightning.bitflyer.com/docs?lang=en#list-orders
* @param {string} symbol unified market symbol of the market orders were made in
* @param {int} [since] the earliest time in ms to fetch orders for
* @param {int} [limit] the maximum number of orde structures to retrieve
* @param {int} [limit] the maximum number of order structures to retrieve
* @param {object} [params] extra parameters specific to the exchange API endpoint
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
*/
Expand Down Expand Up @@ -696,7 +696,7 @@ class bitflyer extends bitflyer$1 {
* @see https://lightning.bitflyer.com/docs?lang=en#list-orders
* @param {string} symbol unified market symbol of the market orders were made in
* @param {int} [since] the earliest time in ms to fetch orders for
* @param {int} [limit] the maximum number of orde structures to retrieve
* @param {int} [limit] the maximum number of order structures to retrieve
* @param {object} [params] extra parameters specific to the exchange API endpoint
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/src/bitmart.js
Original file line number Diff line number Diff line change
Expand Up @@ -2752,7 +2752,7 @@ class bitmart extends bitmart$1 {
* @description fetches information on multiple closed orders made by the user
* @param {string} symbol unified market symbol of the market orders were made in
* @param {int} [since] the earliest time in ms to fetch orders for
* @param {int} [limit] the maximum number of orde structures to retrieve
* @param {int} [limit] the maximum number of order structures to retrieve
* @param {object} [params] extra parameters specific to the exchange API endpoint
* @param {int} [params.until] timestamp in ms of the latest entry
* @param {string} [params.marginMode] *spot only* 'cross' or 'isolated', for margin trading
Expand Down
4 changes: 2 additions & 2 deletions dist/cjs/src/bitmex.js
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ class bitmex extends bitmex$1 {
* @description fetches information on multiple orders made by the user
* @param {string} symbol unified market symbol of the market orders were made in
* @param {int} [since] the earliest time in ms to fetch orders for
* @param {int} [limit] the maximum number of orde structures to retrieve
* @param {int} [limit] the maximum number of order structures to retrieve
* @param {object} [params] extra parameters specific to the exchange API endpoint
* @param {int} [params.until] the earliest time in ms to fetch orders for
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
Expand Down Expand Up @@ -936,7 +936,7 @@ class bitmex extends bitmex$1 {
* @description fetches information on multiple closed orders made by the user
* @param {string} symbol unified market symbol of the market orders were made in
* @param {int} [since] the earliest time in ms to fetch orders for
* @param {int} [limit] the maximum number of orde structures to retrieve
* @param {int} [limit] the maximum number of order structures to retrieve
* @param {object} [params] extra parameters specific to the exchange API endpoint
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/src/bitopro.js
Original file line number Diff line number Diff line change
Expand Up @@ -1267,7 +1267,7 @@ class bitopro extends bitopro$1 {
* @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/private/get_orders_data.md
* @param {string} symbol unified market symbol of the market orders were made in
* @param {int} [since] the earliest time in ms to fetch orders for
* @param {int} [limit] the maximum number of orde structures to retrieve
* @param {int} [limit] the maximum number of order structures to retrieve
* @param {object} [params] extra parameters specific to the exchange API endpoint
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/src/bitpanda.js
Original file line number Diff line number Diff line change
Expand Up @@ -1817,7 +1817,7 @@ class bitpanda extends bitpanda$1 {
* @description fetches information on multiple closed orders made by the user
* @param {string} symbol unified market symbol of the market orders were made in
* @param {int} [since] the earliest time in ms to fetch orders for
* @param {int} [limit] the maximum number of orde structures to retrieve
* @param {int} [limit] the maximum number of order structures to retrieve
* @param {object} [params] extra parameters specific to the exchange API endpoint
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/src/bitvavo.js
Original file line number Diff line number Diff line change
Expand Up @@ -1258,7 +1258,7 @@ class bitvavo extends bitvavo$1 {
* @description fetches information on multiple orders made by the user
* @param {string} symbol unified market symbol of the market orders were made in
* @param {int} [since] the earliest time in ms to fetch orders for
* @param {int} [limit] the maximum number of orde structures to retrieve
* @param {int} [limit] the maximum number of order structures to retrieve
* @param {object} [params] extra parameters specific to the exchange API endpoint
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
* @param {int} [params.until] the latest time in ms to fetch entries for
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/src/blockchaincom.js
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ class blockchaincom extends blockchaincom$1 {
* @description fetches information on multiple closed orders made by the user
* @param {string} symbol unified market symbol of the market orders were made in
* @param {int} [since] the earliest time in ms to fetch orders for
* @param {int} [limit] the maximum number of orde structures to retrieve
* @param {int} [limit] the maximum number of order structures to retrieve
* @param {object} [params] extra parameters specific to the exchange API endpoint
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
*/
Expand Down
4 changes: 2 additions & 2 deletions dist/cjs/src/btcalpha.js
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ class btcalpha extends btcalpha$1 {
* @description fetches information on multiple orders made by the user
* @param {string} symbol unified market symbol of the market orders were made in
* @param {int} [since] the earliest time in ms to fetch orders for
* @param {int} [limit] the maximum number of orde structures to retrieve
* @param {int} [limit] the maximum number of order structures to retrieve
* @param {object} [params] extra parameters specific to the exchange API endpoint
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
*/
Expand Down Expand Up @@ -835,7 +835,7 @@ class btcalpha extends btcalpha$1 {
* @description fetches information on multiple closed orders made by the user
* @param {string} symbol unified market symbol of the market orders were made in
* @param {int} [since] the earliest time in ms to fetch orders for
* @param {int} [limit] the maximum number of orde structures to retrieve
* @param {int} [limit] the maximum number of order structures to retrieve
* @param {object} [params] extra parameters specific to the exchange API endpoint
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/src/btcbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ class btcbox extends btcbox$1 {
* @description fetches information on multiple orders made by the user
* @param {string} symbol unified market symbol of the market orders were made in
* @param {int} [since] the earliest time in ms to fetch orders for
* @param {int} [limit] the maximum number of orde structures to retrieve
* @param {int} [limit] the maximum number of order structures to retrieve
* @param {object} [params] extra parameters specific to the exchange API endpoint
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
*/
Expand Down
4 changes: 2 additions & 2 deletions dist/cjs/src/btcmarkets.js
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ class btcmarkets extends btcmarkets$1 {
* @description fetches information on multiple orders made by the user
* @param {string} symbol unified market symbol of the market orders were made in
* @param {int} [since] the earliest time in ms to fetch orders for
* @param {int} [limit] the maximum number of orde structures to retrieve
* @param {int} [limit] the maximum number of order structures to retrieve
* @param {object} [params] extra parameters specific to the exchange API endpoint
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
*/
Expand Down Expand Up @@ -1065,7 +1065,7 @@ class btcmarkets extends btcmarkets$1 {
* @description fetches information on multiple closed orders made by the user
* @param {string} symbol unified market symbol of the market orders were made in
* @param {int} [since] the earliest time in ms to fetch orders for
* @param {int} [limit] the maximum number of orde structures to retrieve
* @param {int} [limit] the maximum number of order structures to retrieve
* @param {object} [params] extra parameters specific to the exchange API endpoint
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/src/btcturk.js
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ class btcturk extends btcturk$1 {
* @description fetches information on multiple orders made by the user
* @param {string} symbol unified market symbol of the market orders were made in
* @param {int} [since] the earliest time in ms to fetch orders for
* @param {int} [limit] the maximum number of orde structures to retrieve
* @param {int} [limit] the maximum number of order structures to retrieve
* @param {object} [params] extra parameters specific to the exchange API endpoint
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
*/
Expand Down
Loading

0 comments on commit f279fec

Please sign in to comment.