officialnico / arb

financial arbitrage on binance
4 stars 2 forks source link

Make a function that edits the exchange and the symbols but checks if there are only arbitrage pairs there, if not returning error #3

Closed officialnico closed 4 years ago

officialnico commented 4 years ago

ccxt has an example installed under examples/py called aribtrage-pairs.py it checks 2 given exchanges for the available arbitrage symbol pairs, I want to make a function that checks wether or not the symbols are pairable, and if not returning an error instead of editing the exchange information before fucking anything up

officialnico commented 4 years ago

honestly i doubt this will be useful as we're gonna focus on 2 but itd be cool if at the long term we could achieve some dynamic-ness with the exchanges

kacperkozi commented 4 years ago

An interesting exception to this is in Kraken they use XBT as the equivalent of BTC. However via CCXT it automatically use BTC. Let’s do this idea later and right now focus on ghetto rigging a working solution for two pairs. On Jan 3, 2020, 7:17 PM -0500, nico notifications@github.com, wrote:

honestly i doubt this will be useful as we're gonna focus on 2 but itd be cool if at the long term we could achieve some dynamic-ness with the exchanges — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

officialnico commented 4 years ago

okay sounds good, right now im working on a function to estimate usd to btc so we can estimate profits. it will do so without having to fetch the ticker every time, its gonna store it as a json file and update it every hour or so, should save us a second or 2 by not having to connect to the api every time