Open jpretori opened 4 years ago
I intend to fix this myself and submit a pull request
Turns out the fix is real simple - just make it clear that bitcoin-arbitrage converts all prices to USD before displaying them on the CLI. In fact, it seems it does this before doing pretty much anything at all.
In market.py:
def ask_update_depth(self): try: self.update_depth() self.convert_to_usd() self.depth_updated = time.time()
When I run
$ python -m arbitrage -d
I wait a few minutes, then it outputs, among other prices:
The ticker price of KrakenUSD is quite close to the actual value just now, which I can see on trade.kraken.com is about 11350. The ticker price of KrakenEUR however, is FAR away from what trade.kraken.com is reporting, which is closer to 9669... which seems to me to mean that bitcoin-arbitrage is misreporting the price.