mcardillo55 / cbpro-trader Goto Github PK
View Code? Open in Web Editor NEWAutomated cryptocurrency trading on Coinbase Pro (formerly gdax-trader)
License: GNU General Public License v3.0
Automated cryptocurrency trading on Coinbase Pro (formerly gdax-trader)
License: GNU General Public License v3.0
Sure, it's beta, ...
How does it work and perform over time?
Is this a good solution to "exit into legacy fiat" in case of market dips?
File "/mnt/volume-fra1-01/daytrade/gdax-trader/engine.py", line 104, in print_amounts self.logger.debug("[BALANCES] USD: %.2f BTC: %.8f" % (self.usd, self.btc))
TypeError: float argument required, not NoneType
Getting an error saying no module called 'cbpro' when I execute as:
$ python cbpro-trader.py
Traceback (most recent call last): File "cbpro-trader.py", line 7, in <module> import cbpro ImportError: No module named cbpro
Details:
I followed the instructions to install the dependencies from requirements.txt. After a couple of attempts necessary due to permission related failures, I was able to get to the point where 'six' was the only dependency that seemed to have a complaint that it could not be uninstalled since it's a distutils installed project -- see below:
Found existing installation: six 1.4.1
Cannot uninstall 'six'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
My python version is 2.7.10
Thanks in advance for any help I receive on this! ๐
EDIT:
Specific output regarding cbpro
from executing pip install -r ./requirements.txt
Obtaining cbpro from git+https://github.com/mcardillo55/coinbasepro-python.git@d2b8bed627339723ab214430fe93ade2331d757e#egg=cbpro (from -r ./requirements.txt (line 4))
Skipping because already up-to-date.
When running from the CLI, the script appears to be stuck a look opening/closing the websocket. Is this a known issue or is there something wrong with my setup?
-- CBPRO Websocket Closed ---
-- CBPRO Websocket Opened ---
-- CBPRO Websocket Closed ---
-- CBPRO Websocket Closed ---
-- CBPRO Websocket Opened ---
-- CBPRO Websocket Closed ---
-- CBPRO Websocket Closed ---
Following error showing repeatedly in error.log
Traceback (most recent call last):
File "...cbpro-trader\daemon\cbpro-trader.py", line 107, in start
product.order_book.process_message(msg)
AttributeError: 'OrderBookCustom' object has no attribute 'process_message'
Hi,
I cannot get the 30m setting to work for BTC. 60m appears working.
Hi,
I am running in issues like this
ERROR: Cannot install -r requirements.txt (line 5), cbpro==1.1.4 and requests==2.20.0 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested requests==2.20.0
cbpro 1.1.4 depends on requests==2.13.0
The user requested requests==2.20.0
cbpro 1.1.3 depends on requests==2.13.0
The user requested requests==2.20.0
cbpro 1.1.2 depends on requests==2.13.0
The user requested requests==2.20.0
cbpro 1.1.1 depends on requests==2.13.0
The user requested requests==2.20.0
cbpro 1.1.0 depends on requests==2.13.0
Also i wondered if it is possible to resolve the dependy of the cbpro fork to the original again. Have been looking through the MR and it looks like that.
But so far I have so many dependency issues that I wanted to ask if it is me or the system :)
Thanks
I just have a quick question. why did you decide to make the bot trade with market instead of limit? Every market order has a fee most limit orders have no fee. is better to pay the fee?
Hi there,
on branch dev, after starting docker, i have this problem
web_1 | Proxy error: Could not proxy request /periods/ from 172.19.0.2:3000 to http://cbpro:5000.
ubuntu 20.04
Is it just a variable?
Python 3.6.3 (default, Jan 8 2019, 21:35:12)
[GCC 4.9.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
import curses
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.6/curses/init.py", line 13, in
from _curses import *
ModuleNotFoundError: No module named '_curses'
On Python 2.7 it works but then I can not install Ta-Lib. For Python 3.6 it is curses that is hard to find and not possible to install. Could you maybe make more use of general python modules. The Ta-Lib is needed I think but maybe there is an alternative for curses.
Can I modify the code to run without curses?
.. like BTC/LTC or BTC/ETH. This would have an effect on round_fiat
and round_coin
.
Any thoughts on that one?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.