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
0
votes
3 answers

How to execute those 2 code snippets asynchronously/parallell

I am beginner at javascript so please bear with me. I wonder how to put async() event in the right way. I have 2 code snippets that I want to execute asynchronously and not synchronously. The code snippets use a library that do HTTP requests so that…
Andreas
  • 1,121
  • 4
  • 17
  • 34
0
votes
0 answers

Converting CCXT Timestamp data to Datetime

I'm trying to figure out how to fix the Timestamp to Datetime conversion for some ccxt data. Here is the data I'm working with: Timestamp Open High Low Close Volume 0 1506211200000 3779.54 3789.99 3622.76 3660.02 661.636390 1 …
Haytorade
  • 155
  • 1
  • 14
0
votes
1 answer

How to put string for attribute to function

I need help with function attribute in Python. I have the data which look like this: exch1 = data['Info']['Exchange1'] and this equals for example poloniex. I need to get exch1_object which must look like this ccxt.poloniex(), But when I try to do…
Arrmlet
  • 69
  • 2
  • 6
0
votes
1 answer

TypeError: can only concatenate str (not "list") to str

when i try the following line of code print(self.exchange3.privateGetPosition([{'currentQty'}])) i get the the following error File "c:/Users/User2/sample_market_maker/SAMPLE/botv2.py", line 130, in…
Varun Reddy
  • 31
  • 2
  • 5
0
votes
1 answer

Python: Call function of package using object

I'm using the ccxt module for python. I can initilize it for exchanges. For example bittrex: exchange = ccxt.bittrex({ 'enableRateLimit': True }) return exchange But the following does not work: ex = 'bittrex' print(ex) exchange = ccxt.ex({ …
mealesbia
  • 845
  • 2
  • 12
  • 28
0
votes
1 answer

Vue prop default value not working properly

Ok so I have the following prop that I get from the parent component props: { selectedExchange: { default: 'acx', } }, And i try to use it in the following method methods: { getMarkets() { const ccxt = require('ccxt') const…
Radu
  • 540
  • 1
  • 7
  • 23
0
votes
1 answer

configure: error: C compiler cannot create executables mac

I am trying to install ccxt on my Macbook Air using sudo npm install --save ccxt and encountered the following error: > scrypt@6.0.3 preinstall /Applications/Xcode.app/Contents/Developer/Toolchains/node_modules/scrypt > node…
phamhere
  • 11
  • 5
0
votes
1 answer

How to troubleshoot webpack "Mod

I m using React and just added this module, ccxt. Before adding the module everything is fine. The module installed fine. Later, I added this line to a script: const ccxt = require ('ccxt'); And when I then issue npm start it throws an…
marcus
  • 77
  • 1
  • 9
0
votes
0 answers

CSV Storing data incorrectly or is it just me?

So pretty much I have a script that takes one set of a time series, drops the time and some other information from the second time series, and then adds it to the outer end of a csv file. The problem I am having is it is constantly storing 3 blank…
jward1
  • 1
  • 1
0
votes
1 answer

How to slice dict values to different list

import ccxt import time import re exchanges = {'mercado', 'bitfinex', 'quadrigacx','binance'} limit = 10 def get_order_book(key,symbol): exchange = eval('ccxt.' + key + '()' ) orderbook = exchange.fetch_order_book(symbol,limit) print…
0
votes
1 answer

"EOF while parsing" in Python loop

im trying to transform ohlcv data from kraken downloaded via ccxt library into longer candles (longer ohlcv data) import ccxt import numpy as np source_ohlcv = exchange.fetch_ohlcv("BTC/USD", '15m') n_minutes = 3 def…
bobulator
  • 23
  • 1
  • 1
  • 4
0
votes
1 answer

Asyncio returns corutine objects instead of results ccxt

I am trying to write a script which returns currency value from multiple exchanges asynchronously. The code works, but instead of results the script returns list of coroutine objects and warnings. As I understand the gather function returns list of…
Daniel
  • 145
  • 1
  • 11
0
votes
1 answer

Trade history report from Bitfinex API

I'm using Bitfinex's WebSockets API v2 via their Node.JS package. I'm able to connect and get a snapshot of my wallets. I would also like to get a report on my trade history (which is accessible on the website through Reports > Trade History), but…
mbaytas
  • 2,676
  • 7
  • 26
  • 37
-1
votes
0 answers

mexc fetchFundingRates() is not supported yet

I want to get all of fundingrate in mexc but i don't know how to fix this error. Thank all so much. import ccxt exchange = ccxt.mexc() try: funding_rates = exchange.fetch_funding_rates() for funding_rate in funding_rates: symbol =…
-1
votes
1 answer

I can't change binance endpoint version using ccxt

I am running a bot using CCXT library to operate with Binance Futures API. It was working like a charm so far. However, now I'm getting the following error: binance {"code":-5000,"msg":"GET /fapi/v1/positionRisk is retired, please use GET…
Pablo A
  • 1
  • 2