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
vote
1 answer

Python cryptocurrency | CCXT.ftx().fetch_my_trades() KeyError "Symbol"

I use the CCXT module to communicate with multiple cryptocurrency exchanges. However when trying to request my trades or other orders I get the error "Key error symbol" even tho i use a Valid symbol and other functions work. Code : cftx =…
Python_Noob
  • 51
  • 1
  • 5
1
vote
1 answer

Additional python library not working on macos

I'm using MacOS 10.14.6, and python 3.7.4 My personal python code is working well. I've installed additional library using pip: pip install ccxt Then below code works well on windows. import ccxt bitmex =…
XingLong Lee
  • 79
  • 1
  • 1
  • 7
1
vote
1 answer

Arbitrage Trading of ETH/BTC using ccxt crypto API throws error while creating buy order

I am working on an app that does ETH/BTC arbitrage trading of crypto-currency using ccxt crypto API for PHP, and i keep receiving this Network Error exception thrown from the API call usually while trying to place a limit buy…
rohan
  • 185
  • 1
  • 3
  • 13
1
vote
1 answer

Composer use private fork of a repository

This question is clearly answered in other places, but it simply does not work for me. I can also see a lot of people have problems with this. I am trying to use a fork of CCXT (branch name is bitmart) in my own project as it contains some major…
simonw16
  • 960
  • 9
  • 25
1
vote
1 answer

Not able to fetch the price for market order

I am not able to fetch the price for my order using coinbase sandbox for market type order. array:15 [▼ "id" => "c4298c2e-324d-4cee-aaa3-18e811fee3bb" "info" => array:15 [▼ "id" => "c4298c2e-324d-4cee-aaa3-18e811fee3bb" "size" =>…
1
vote
1 answer

Can't list markets using ccxt's load_markets() in vue.js

I am using ccxt for a project. ccxt is a node module that allows me to get real-time data for different cryptocurrencies/markets I want to extract the crypto pairs from a certain exchange using this code const ccxt = require('ccxt') const exchanges…
Radu
  • 540
  • 1
  • 7
  • 23
1
vote
2 answers

Python: how to use attribute from differenct class

I have some basic class Trader in trader.py: class Trader(object): def __init__(self, exchange_name, api_key, api_secret): self.Exchange = Exchange(exchange_name, api_key, api_secret).exchange and a class Exchange in exchange.py class…
mealesbia
  • 845
  • 2
  • 12
  • 28
1
vote
1 answer

What datetime format is this and how do I parse it?

I have some data that I'm pulling from an API and the date is formatted like this: '1522454400000' Not sure how to parse it but this is what I have (unsuccessfully tried) df = DataFrame(test) df.columns = ['Date', 'Open', 'High', 'Low', 'Close',…
Merv Merzoug
  • 1,149
  • 2
  • 19
  • 33
1
vote
2 answers

How to run multiple functions and create a list?

I'm new to Python and I have a list of crypto exchanges I would like to connect with the ccxt library in order to fetch OHLC data. But instead to instantiate each exchanges classes one by one (many objects), I would like to create an exchanges…
Florent
  • 1,791
  • 22
  • 40
1
vote
1 answer

Plotting ccxt graph in python

I want to plot a live graph in python using matplotlib and ccxt can anyone guide me through it? I have already plotted a live bitcoin graph but i am not able to plot all the graphs by one single commands of using the ccxt library.
1
vote
0 answers

Calling function after import

Trying to adapt someone else's code example to my project and a bit confused on how to call a function after importing the file. Console os logging error Uncaught TypeError: loadData.markets is not a function I'm attempting to call the markets()…
chuckieDub
  • 1,767
  • 9
  • 27
  • 46
1
vote
1 answer

Getting real time data from API into route

I am using the following two files to get data from two APIs. Please find below my minimum viable example: poloniex.js const Poloniex = require('poloniex-api-node') const poloniex = new Poloniex() async function getExchangeTicker() { …
Carol.Kar
  • 4,581
  • 36
  • 131
  • 264
1
vote
1 answer

Nonce Override in python ccxt

so I keep recieveing this message when trying to place trades using ccxt: "Timestamp for this request is not valid." I've read the ccxt manual and it says to override the nonce I should use: class MyBitfinex (ccxt.bitfinex): def nonce (self): …
Scott
  • 37
  • 1
  • 5
0
votes
0 answers

I am trying to make an auto trade on Bybit ccxt api but is not creating order

I would like the system able to help me get signal if -1 then short my order, 0 to not have any order , 1 to long my order. Here are some scenario i have. if i have long 0.5 and the signal is -1 now then it should be -1, as it needs to sell 0.5 to…
0
votes
1 answer

Asynchronous requests with ccxt python library on Bybit

getting 403 error from Bybit on asynchronous ccxt request tried without async - everything works import ccxt.async_support as ccxt import asyncio async def main(): exchange = ccxt.bybit() await exchange.load_markets() symbol =…