Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,13 +242,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/ccxt@4.14.3/dist/ccxt.browser.min.js
- unpkg: https://unpkg.com/ccxt@4.14.3/dist/ccxt.browser.min.js
- jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.14.4/dist/ccxt.browser.min.js
- unpkg: https://unpkg.com/ccxt@4.14.4/dist/ccxt.browser.min.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/ccxt@4.14.3/dist/ccxt.browser.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.14.4/dist/ccxt.browser.min.js"></script>
console.log (ccxt.exchanges) // print all available exchanges
```

Expand Down
4 changes: 2 additions & 2 deletions cs/ccxt/api/saraf.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ public partial class saraf : Exchange
{
public saraf (object args = null): base(args) {}

public async Task<object> publicGetV1PricesListed (object parameters = null)
public async Task<object> publicGetV1PricesArzdigital (object parameters = null)
{
return await this.callAsync ("publicGetV1PricesListed",parameters);
return await this.callAsync ("publicGetV1PricesArzdigital",parameters);
}

}
2 changes: 1 addition & 1 deletion cs/ccxt/base/Exchange.MetaData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ namespace ccxt;
// file updated automatically by vss and export-exchanges
public partial class Exchange
{
public static string ccxtVersion = "4.14.3";
public static string ccxtVersion = "4.14.4";


public static List<string> exchanges = new List<string> { "abantether", "afratether", "alpaca", "apex", "arzinja", "arzplus", "ascendex", "asretether", "bequant", "bidarz", "bigone", "binance", "binancecoinm", "binanceus", "binanceusdm", "bingx", "bit24", "bit2c", "bitbank", "bitbarg", "bitbns", "bitfinex", "bitflyer", "bitget", "bithumb", "bitimen", "bitir", "bitmart", "bitmex", "bitopro", "bitpin", "bitrue", "bitso", "bitstamp", "bitteam", "bittrade", "bitunix", "bitvavo", "bitwana", "blockchaincom", "blofin", "btcalpha", "btcbox", "btcmarkets", "btcturk", "bybit", "bydfi", "cafearz", "cex", "changefa", "coinbase", "coinbaseadvanced", "coinbaseexchange", "coinbaseinternational", "coincatch", "coincheck", "coinex", "coinmate", "coinmetro", "coinone", "coinsph", "coinspot", "cryptocom", "cryptomus", "defx", "delta", "deribit", "derive", "digifinex", "ellipx", "eterex", "excoino", "exir", "exmo", "exnovin", "farhadexchange", "fmfwio", "foxbit", "gate", "gateio", "gemini", "hamtapay", "hashkey", "hibachi", "hitbtc", "hitobit", "hollaex", "htx", "huobi", "hyperliquid", "independentreserve", "indodax", "iranexchange", "jibitex", "kcex", "kifpoolme", "kraken", "krakenfutures", "kucoin", "kucoinfutures", "latoken", "lbank", "luno", "mazdax", "mercado", "mexc", "modetrade", "myokx", "ndax", "nobitex", "novadax", "oceanex", "okcoin", "okexchange", "okx", "okxus", "ompfinex", "onetrading", "ourbit", "oxfun", "p2b", "paradex", "paymium", "phemex", "pingi", "poloniex", "pooleno", "probit", "raastin", "ramzinex", "saraf", "sarmayex", "sarrafex", "tabdeal", "tehran_exchange", "tetherland", "timex", "tokocrypto", "toobit", "tradeogre", "twox", "ubitex", "upbit", "vertex", "wallex", "wavesexchange", "whitebit", "woo", "woofipro", "xt", "yobit", "zaif", "zonda" };
Expand Down
6 changes: 3 additions & 3 deletions cs/ccxt/ccxt.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<PropertyGroup>
<PackageId>ccxt</PackageId>
<Authors>Carlos, Kroitor, Carlo</Authors>
<PackageVersion>4.14.3</PackageVersion>
<AssemblyVersion>4.14.3</AssemblyVersion>
<FileVersion>4.14.3</FileVersion>
<PackageVersion>4.14.4</PackageVersion>
<AssemblyVersion>4.14.4</AssemblyVersion>
<FileVersion>4.14.4</FileVersion>
<PackageReadmeFile>README.md</PackageReadmeFile>
<Description>Cryptocurrency trading API with support for more than 100 bitcoin/altcoin exchanges</Description>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
Expand Down
14 changes: 7 additions & 7 deletions dist/ccxt.browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -366824,7 +366824,7 @@ class saraf extends _base_Exchange_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
'api': {
'public': {
'get': {
'v1/prices/listed': 1,
'v1/prices/arzdigital': 1,
},
},
},
Expand Down Expand Up @@ -366898,11 +366898,11 @@ class saraf extends _base_Exchange_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
* @method
* @name saraf#fetchMarkets
* @description retrieves data on all markets for saraf
* @see https://api.saraf.app/v3/prices/crypto
* @see https://api.saraf.app/v1/prices/arzdigital
* @param {object} [params] extra parameters specific to the exchange API endpoint
* @returns {object[]} an array of objects representing market data
*/
const response = await this.publicGetV1PricesListed(params);
const response = await this.publicGetV1PricesArzdigital(params);
const price = this.safeDict(response, 'price', {});
const items = this.safeDict(price, 'Items', {});
const lastUpdateTime = this.safeInteger(price, 'lastUpdateTime');
Expand All @@ -366924,7 +366924,7 @@ class saraf extends _base_Exchange_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
* @method
* @name saraf#fetchTickers
* @description fetches price tickers for multiple markets
* @see https://api.saraf.app/v3/prices/crypto
* @see https://api.saraf.app/v1/prices/arzdigital
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
* @param {object} [params] extra parameters specific to the exchange API endpoint
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
Expand All @@ -366933,7 +366933,7 @@ class saraf extends _base_Exchange_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
if (symbols !== undefined) {
symbols = this.marketSymbols(symbols);
}
const response = await this.publicGetV1PricesListed(params);
const response = await this.publicGetV1PricesArzdigital(params);
const price = this.safeDict(response, 'price', {});
const items = this.safeDict(price, 'Items', {});
const lastUpdateTime = this.safeInteger(price, 'lastUpdateTime');
Expand All @@ -366956,7 +366956,7 @@ class saraf extends _base_Exchange_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
* @method
* @name saraf#fetchTicker
* @description fetches a price ticker, a statistical calculation for a specific market
* @see https://api.saraf.app/v3/prices/crypto
* @see https://api.saraf.app/v1/prices/arzdigital
* @param {string} symbol unified symbol of the market to fetch the ticker for
* @param {object} [params] extra parameters specific to the exchange API endpoint
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
Expand Down Expand Up @@ -433987,7 +433987,7 @@ SOFTWARE.

//-----------------------------------------------------------------------------
// this is updated by vss.js when building
const ccxt_version = '4.14.3';
const ccxt_version = '4.14.4';
ccxt_src_base_Exchange_js_WEBPACK_IMPORTED_MODULE_0_/* .Exchange */ .k.ccxtVersion = ccxt_version;
//-----------------------------------------------------------------------------

Expand Down
4 changes: 2 additions & 2 deletions dist/ccxt.browser.min.js

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 @@ -241,7 +241,7 @@ var xt$1 = require('./src/pro/xt.js');

//-----------------------------------------------------------------------------
// this is updated by vss.js when building
const version = '4.14.3';
const version = '4.14.4';
Exchange["default"].ccxtVersion = version;
const exchanges = {
'abantether': abantether["default"],
Expand Down
12 changes: 6 additions & 6 deletions dist/cjs/src/saraf.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class saraf extends Exchange["default"] {
'api': {
'public': {
'get': {
'v1/prices/listed': 1,
'v1/prices/arzdigital': 1,
},
},
},
Expand Down Expand Up @@ -175,11 +175,11 @@ class saraf extends Exchange["default"] {
* @method
* @name saraf#fetchMarkets
* @description retrieves data on all markets for saraf
* @see https://api.saraf.app/v3/prices/crypto
* @see https://api.saraf.app/v1/prices/arzdigital
* @param {object} [params] extra parameters specific to the exchange API endpoint
* @returns {object[]} an array of objects representing market data
*/
const response = await this.publicGetV1PricesListed(params);
const response = await this.publicGetV1PricesArzdigital(params);
const price = this.safeDict(response, 'price', {});
const items = this.safeDict(price, 'Items', {});
const lastUpdateTime = this.safeInteger(price, 'lastUpdateTime');
Expand All @@ -201,7 +201,7 @@ class saraf extends Exchange["default"] {
* @method
* @name saraf#fetchTickers
* @description fetches price tickers for multiple markets
* @see https://api.saraf.app/v3/prices/crypto
* @see https://api.saraf.app/v1/prices/arzdigital
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
* @param {object} [params] extra parameters specific to the exchange API endpoint
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
Expand All @@ -210,7 +210,7 @@ class saraf extends Exchange["default"] {
if (symbols !== undefined) {
symbols = this.marketSymbols(symbols);
}
const response = await this.publicGetV1PricesListed(params);
const response = await this.publicGetV1PricesArzdigital(params);
const price = this.safeDict(response, 'price', {});
const items = this.safeDict(price, 'Items', {});
const lastUpdateTime = this.safeInteger(price, 'lastUpdateTime');
Expand All @@ -233,7 +233,7 @@ class saraf extends Exchange["default"] {
* @method
* @name saraf#fetchTicker
* @description fetches a price ticker, a statistical calculation for a specific market
* @see https://api.saraf.app/v3/prices/crypto
* @see https://api.saraf.app/v1/prices/arzdigital
* @param {string} symbol unified symbol of the market to fetch the ticker for
* @param {object} [params] extra parameters specific to the exchange API endpoint
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
Expand Down
2 changes: 1 addition & 1 deletion go/v4/exchange_metadata.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package ccxt

var Version string = "4.14.3"
var Version string = "4.14.4"

var Exchanges []string = []string{ "Abantether", "Afratether", "Alpaca", "Apex", "Arzinja", "Arzplus", "Ascendex", "Asretether", "Bequant", "Bidarz", "Bigone", "Binance", "Binancecoinm", "Binanceus", "Binanceusdm", "Bingx", "Bit24", "Bit2c", "Bitbank", "Bitbarg", "Bitbns", "Bitfinex", "Bitflyer", "Bitget", "Bithumb", "Bitimen", "Bitir", "Bitmart", "Bitmex", "Bitopro", "Bitpin", "Bitrue", "Bitso", "Bitstamp", "Bitteam", "Bittrade", "Bitunix", "Bitvavo", "Bitwana", "Blockchaincom", "Blofin", "Btcalpha", "Btcbox", "Btcmarkets", "Btcturk", "Bybit", "Bydfi", "Cafearz", "Cex", "Changefa", "Coinbase", "Coinbaseadvanced", "Coinbaseexchange", "Coinbaseinternational", "Coincatch", "Coincheck", "Coinex", "Coinmate", "Coinmetro", "Coinone", "Coinsph", "Coinspot", "Cryptocom", "Cryptomus", "Defx", "Delta", "Deribit", "Derive", "Digifinex", "Ellipx", "Eterex", "Excoino", "Exir", "Exmo", "Exnovin", "Farhadexchange", "Fmfwio", "Foxbit", "Gate", "Gateio", "Gemini", "Hamtapay", "Hashkey", "Hibachi", "Hitbtc", "Hitobit", "Hollaex", "Htx", "Huobi", "Hyperliquid", "Independentreserve", "Indodax", "Iranexchange", "Jibitex", "Kcex", "Kifpoolme", "Kraken", "Krakenfutures", "Kucoin", "Kucoinfutures", "Latoken", "Lbank", "Luno", "Mazdax", "Mercado", "Mexc", "Modetrade", "Myokx", "Ndax", "Nobitex", "Novadax", "Oceanex", "Okcoin", "Okexchange", "Okx", "Okxus", "Ompfinex", "Onetrading", "Ourbit", "Oxfun", "P2b", "Paradex", "Paymium", "Phemex", "Pingi", "Poloniex", "Pooleno", "Probit", "Raastin", "Ramzinex", "Saraf", "Sarmayex", "Sarrafex", "Tabdeal", "Tehran_exchange", "Tetherland", "Timex", "Tokocrypto", "Toobit", "Tradeogre", "Twox", "Ubitex", "Upbit", "Vertex", "Wallex", "Wavesexchange", "Whitebit", "Woo", "Woofipro", "Xt", "Yobit", "Zaif", "Zonda" }
4 changes: 2 additions & 2 deletions go/v4/saraf_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@

package ccxt

func (this *saraf) PublicGetV1PricesListed (args ...interface{}) <-chan interface{} {
return this.callEndpointAsync("publicGetV1PricesListed", args...)
func (this *saraf) PublicGetV1PricesArzdigital (args ...interface{}) <-chan interface{} {
return this.callEndpointAsync("publicGetV1PricesArzdigital", args...)
}
2 changes: 1 addition & 1 deletion js/ccxt.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as functions from './src/base/functions.js';
import * as errors from './src/base/errors.js';
import type { Int, int, Str, Strings, Num, Bool, IndexType, OrderSide, OrderType, MarketType, SubType, Dict, NullableDict, List, NullableList, Fee, OHLCV, OHLCVC, implicitReturnType, Market, Currency, Dictionary, MinMax, FeeInterface, TradingFeeInterface, MarketMarginModes, MarketInterface, Trade, Order, OrderBook, Ticker, Transaction, Tickers, CurrencyInterface, Balance, BalanceAccount, Account, PartialBalances, Balances, DepositAddress, WithdrawalResponse, FundingRate, FundingRates, Position, BorrowInterest, LeverageTier, LedgerEntry, DepositWithdrawFeeNetwork, DepositWithdrawFee, TransferEntry, CrossBorrowRate, IsolatedBorrowRate, FundingRateHistory, OpenInterest, Liquidation, OrderRequest, CancellationRequest, FundingHistory, MarginMode, Greeks, Conversion, Option, LastPrice, Leverage, MarginModification, Leverages, LastPrices, Currencies, TradingFees, MarginModes, OptionChain, IsolatedBorrowRates, CrossBorrowRates, LeverageTiers, LongShortRatio, OrderBooks, OpenInterests, ConstructorArgs } from './src/base/types.js';
import { BaseError, ExchangeError, AuthenticationError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, OperationRejected, NoChange, MarginModeAlreadySet, MarketClosed, ManualInteractionNeeded, RestrictedLocation, InsufficientFunds, InvalidAddress, AddressPending, InvalidOrder, OrderNotFound, OrderNotCached, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, ContractUnavailable, NotSupported, InvalidProxySettings, ExchangeClosedByUser, OperationFailed, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, ChecksumError, RequestTimeout, BadResponse, NullResponse, CancelPending, UnsubscribeError } from './src/base/errors.js';
declare const version = "4.14.3";
declare const version = "4.14.4";
import abantether from './src/abantether.js';
import afratether from './src/afratether.js';
import alpaca from './src/alpaca.js';
Expand Down
2 changes: 1 addition & 1 deletion js/ccxt.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import * as errors from './src/base/errors.js';
import { BaseError, ExchangeError, AuthenticationError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, OperationRejected, NoChange, MarginModeAlreadySet, MarketClosed, ManualInteractionNeeded, RestrictedLocation, InsufficientFunds, InvalidAddress, AddressPending, InvalidOrder, OrderNotFound, OrderNotCached, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, ContractUnavailable, NotSupported, InvalidProxySettings, ExchangeClosedByUser, OperationFailed, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, ChecksumError, RequestTimeout, BadResponse, NullResponse, CancelPending, UnsubscribeError } from './src/base/errors.js';
//-----------------------------------------------------------------------------
// this is updated by vss.js when building
const version = '4.14.3';
const version = '4.14.4';
Exchange.ccxtVersion = version;
//-----------------------------------------------------------------------------
import abantether from './src/abantether.js';
Expand Down
2 changes: 1 addition & 1 deletion js/src/abstract/saraf.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { implicitReturnType } from '../base/types.js';
import { Exchange as _Exchange } from '../base/Exchange.js';
interface Exchange {
publicGetV1PricesListed(params?: {}): Promise<implicitReturnType>;
publicGetV1PricesArzdigital(params?: {}): Promise<implicitReturnType>;
}
declare abstract class Exchange extends _Exchange {
}
Expand Down
12 changes: 6 additions & 6 deletions js/src/saraf.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export default class saraf extends Exchange {
'api': {
'public': {
'get': {
'v1/prices/listed': 1,
'v1/prices/arzdigital': 1,
},
},
},
Expand Down Expand Up @@ -170,11 +170,11 @@ export default class saraf extends Exchange {
* @method
* @name saraf#fetchMarkets
* @description retrieves data on all markets for saraf
* @see https://api.saraf.app/v3/prices/crypto
* @see https://api.saraf.app/v1/prices/arzdigital
* @param {object} [params] extra parameters specific to the exchange API endpoint
* @returns {object[]} an array of objects representing market data
*/
const response = await this.publicGetV1PricesListed(params);
const response = await this.publicGetV1PricesArzdigital(params);
const price = this.safeDict(response, 'price', {});
const items = this.safeDict(price, 'Items', {});
const lastUpdateTime = this.safeInteger(price, 'lastUpdateTime');
Expand All @@ -196,7 +196,7 @@ export default class saraf extends Exchange {
* @method
* @name saraf#fetchTickers
* @description fetches price tickers for multiple markets
* @see https://api.saraf.app/v3/prices/crypto
* @see https://api.saraf.app/v1/prices/arzdigital
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
* @param {object} [params] extra parameters specific to the exchange API endpoint
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
Expand All @@ -205,7 +205,7 @@ export default class saraf extends Exchange {
if (symbols !== undefined) {
symbols = this.marketSymbols(symbols);
}
const response = await this.publicGetV1PricesListed(params);
const response = await this.publicGetV1PricesArzdigital(params);
const price = this.safeDict(response, 'price', {});
const items = this.safeDict(price, 'Items', {});
const lastUpdateTime = this.safeInteger(price, 'lastUpdateTime');
Expand All @@ -228,7 +228,7 @@ export default class saraf extends Exchange {
* @method
* @name saraf#fetchTicker
* @description fetches a price ticker, a statistical calculation for a specific market
* @see https://api.saraf.app/v3/prices/crypto
* @see https://api.saraf.app/v1/prices/arzdigital
* @param {string} symbol unified symbol of the market to fetch the ticker for
* @param {object} [params] extra parameters specific to the exchange API endpoint
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
Expand Down
Loading
Loading