Roibal / Cryptocurrency-Trading-Bots-Python-Beginner-Advance

Crypto Trading Bots in Python - Triangular Arbitrage, Beginner & Advanced Cryptocurrency Trading Bots Written in Python
https://www.youtube.com/channel/UCVTnyT4fUxYkvawbggo8-AQ
MIT License
1.29k stars 438 forks source link

Cannot run Triangle Arb Bot #19

Closed mstofflett closed 5 years ago

mstofflett commented 5 years ago

I've setup my server like this yum install python-pip git clone https://github.com/Roibal/Cryptocurrency-Trading-Bots-Python-Beginner-Advance.git git clone https://github.com/Roibal/python-binance.git pip install ccxt

copied BinanceTriArbTrader.py to the examples folder ran 'python BinanceTriArbTrader.py'

got:

Traceback (most recent call last): File "BinanceTriArbTrader.py", line 31, in from binance.client import Client File "/home/triangle/python-binance/examples/binance/client.py", line 8, in from .helpers import date_to_milliseconds, interval_to_milliseconds File "/home/triangle/python-binance/examples/binance/helpers.py", line 3, in import dateparser ImportError: No module named dateparser

Roibal commented 5 years ago

It may be best to install all files within the Roibal/Cryptocurrency-Trading-Bots-Python-Beginner-Advance to the python-binance/examples/ folder rather than just moving the specific file itself. Additionally, after you have placed these files in the /examples/ folder, pip install python-binance , and this will fix your issues.

Roibal commented 5 years ago

Here is a vid where I go through the installation on Windows, I know you are using Linux but it may be helpful to follow a similar process: https://www.youtube.com/watch?v=u7ZOQar5V7w

Roibal commented 5 years ago

Also dateparser is just a standard library (i believe), i don't know why you would receive this error. Are you using Python 3 ?