Coder Social home page Coder Social logo

mcardillo55 / cbpro-trader Goto Github PK

View Code? Open in Web Editor NEW
218.0 218.0 72.0 1.81 MB

Automated cryptocurrency trading on Coinbase Pro (formerly gdax-trader)

License: GNU General Public License v3.0

Python 60.15% Dockerfile 0.75% HTML 1.73% CSS 2.87% JavaScript 34.48%
algotrading bitcoin btc cryptocurrency eth ethereum gdax litecoin ltc python technical-analysis trading

cbpro-trader's People

Contributors

dependabot[bot] avatar mcardillo55 avatar stephenc01 avatar tomit87 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cbpro-trader's Issues

Getting the following TypeError.

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

cbpro module issue

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.

Websocket Issues

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 ---

Dependency issues

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

Market order vs Limit

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?

Forwarding problem when using docker

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?

Curses doesn't install for Python 3.6.3 on Raspberry pi

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.