Questions tagged [ccxt]

The CCXT library is used to connect & trade with cryptocurrency / altcoin exchanges & payment processing services worldwide. It provides quick access to market data for storage, analysis, visualization, indicator development, algorithmic trading, strategy backtesting, bot programming, webshop integration and related software engineering. Use with topics related to the CCXT library which unifies a vast amount of crypto exchange APIs into one.

The CCXT library is used to connect and trade with cryptocurrency / altcoin exchanges and payment processing services worldwide. It provides quick access to market data for storage, analysis, visualization, indicator development, algorithmic trading, strategy backtesting, bot programming, webshop integration and related software engineering.

It is intended to be used by coders, developers, technically-skilled traders, data-scientists and financial analysts for building trading algorithms on top of it.

217 questions
-1
votes
1 answer

CCXT fetch_order_book datetime not match

i m using the function kucoin.fetchOrderBook() from ccxt library to get bids and asks but the datetime what results is 2 hours before. why time not match? function argument needs only ohlcvdata e limit. Is a big question for me. Someone can help…
-1
votes
0 answers

API BingX issue with Python

How can I Make sure that the timestamp in your code is the same as the timestamp on the BingX server?
-1
votes
1 answer

Is there any efficient way to store streaming data from different stock exchanges in Python besides Parquet files while using CCXT library?

What is the best way to store streaming data from different stock exchanges in order to minimise data weight? Right now I'm using CCXT library on Python and in order to get current order book information and save in into Parquet type file using code…
-1
votes
1 answer

Phemex ccxt with python

What is wrong with my code? I want to retrieve my current open positions from my Phemex contract account, but it doesn't output anything, not even indicating that I don't have any open positions. Here is my code: import ccxt import api import…
Skrihy
  • 1
  • 1
-1
votes
1 answer

CCXT fetch_ohlcv - impossible to get latest values

I'm trying to write a Python bot (using CCXT Library and Exchange: Bitget), but I cannot get latest values of ETH/USDT. It seems I have a delay of couple hours. I'm using the Library CCTX with the following code: bars =…
Phablo
  • 1
-1
votes
1 answer

API Error UNAUTHORIZED on Crypto.com exchange

When i use api method private/create-withdrawal on crypto.com exchange i get error: "code":10002,"message":"UNAUTHORIZED". I am using this request with axios: url: 'https://api.crypto.com/v2/private/create-withdrawal', method: 'post', headers: {…
dimazx
  • 11
  • 3
-1
votes
1 answer

is multple usage of fetch_ticker() faster than fetch_tickers

Is fetch_ticker faster than fetch_tickers? I want to download information of under 10 kinds of coins. To use fetch_ticker function 10 times is faster than just using fetch_tickers? I'm going to use fetch_ticker() like…
-1
votes
2 answers

notsupported coinbase createorder() is not supported yet

Using node.js with ccxt libraries I have API to coinbase and it's getting webhook json from tradingview. While I have node properly getting data from web services and connecting API to coinbase to retrieve balances and calculating trade, there is an…
Al Sol
  • 19
  • 4
-1
votes
1 answer

CCXT how to get time transfer

does someone know how to get the time of a transfer with the CCXT library for python, if possible? i can't find it in the documentation there is another library for this?
-1
votes
1 answer

Is 999 the maximum amount of rows in pandas dataframe?

I'm trying to make a crypto trading bot in python, and i collect historical data (prices and stuff) with the library called ccxt, and store it in pandas dataframe. When i try to store more than 999 rows, i get the error shown below (KeyError: 999).…
-1
votes
1 answer

Getting Binance Historical Data For Specific TimeZone

I found this python script on the web, it gets OHLCV historical data from Binance api by wanted dates, assets and time intervals. The script currently returns the data for UTC time. I want to modify it so it will return the data (daily/hourly)…
Guy
  • 15
  • 1
  • 2
-1
votes
6 answers

Dictionaries within a list Python

I'm trying to access some info from a dictionary that sits in a list of dictionaries and I'm really struggling. I'm trying to check my balance on a crypto exchange and when I query it I receive this list of dictionaries: [{'asset': 'BTC', 'free':…
top bantz
  • 585
  • 1
  • 12
  • 29
-1
votes
2 answers

Changing Timestamp conversion to a Function

I'm working with some CCXT data and I have converted the Timestamp to Datetime by using: df['Timestamp'] = (pd.to_datetime(df['Timestamp'],unit='ms')) Now I'm trying to turn that conversion into a function, modeled after this one: def…
Haytorade
  • 155
  • 1
  • 14
-1
votes
1 answer

Is it possible to append lines of code outside a specific function in Python3?

I'm trying to fetch the orderbooks of crypto exchanges how support a specific pair (for example ETH/BTC). Because my function needs to run every minute it's very time consuming to check this every time. I'm using ccxt to fetch the orderbooks of the…
Kobe Janssens
  • 310
  • 2
  • 13
-1
votes
1 answer

Error message: Function is not callable, not sure what is wrong?

def smaShort(self): while True: ohlcv_candles = bitmex2.bitmex.fetch_ohlcv(self, symbol= 'XBTUSD', timeframe= '5m') mas = [] mas = ohlcv_candles.rolling(window=5).mean() return mas#[-1] when trying to call smaShort…
Varun Reddy
  • 31
  • 2
  • 5
1 2 3
14
15