Git Product home page Git Product logo

jkbrzt / cointrol Goto Github PK

View Code? Open in Web Editor NEW
1.4K 117.0 290.0 658 KB

฿ Bitcoin trading bot with a real-time dashboard for Bitstamp.

Home Page: https://twitter.com/jakubroztocil

License: MIT License

Python 77.97% HTML 0.77% CoffeeScript 14.91% Sass 0.63% Handlebars 5.72%
bitcoin bot bitstamp trade transaction automation python jakubroztocil speculation trading trading-bot cryptocurrencies

cointrol's Issues

Add support for bitMEX

See api documentation at https://www.bitmex.com/app/restAPI

  • feature request (1): get and plot market data for symbol XBT, (bitcoin)
  • feature request (2): get account data and plot on dashboard, (account balance, open positions, etc.)
  • feature request (3): create, modify and cancel limit orders

ImportError: No module named 'exchange'

Could not understand why this issue has popped up? I am following your instructions for installation.
See the error:


Traceback (most recent call last):
  File "cointrol/manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/home/ubuntu/Cointrol/virtualenv/lib/python3.5/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line
    utility.execute()
  File "/home/ubuntu/Cointrol/virtualenv/lib/python3.5/site-packages/django/core/management/__init__.py", line 338, in execute
    django.setup()
  File "/home/ubuntu/Cointrol/virtualenv/lib/python3.5/site-packages/django/__init__.py", line 27, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/home/ubuntu/Cointrol/virtualenv/lib/python3.5/site-packages/django/apps/registry.py", line 85, in populate
    app_config = AppConfig.create(entry)
  File "/home/ubuntu/Cointrol/virtualenv/lib/python3.5/site-packages/django/apps/config.py", line 94, in create
    module = import_module(entry)
  File "/home/ubuntu/Cointrol/virtualenv/lib/python3.5/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 986, in _gcd_import
  File "<frozen importlib._bootstrap>", line 969, in _find_and_load
  File "<frozen importlib._bootstrap>", line 956, in _find_and_load_unlocked
ImportError: No module named 'exchange'

no column named eur_balance

Hi,

after launching cointrol-trader the following error message comes up:

table bitstamp_balance has no column named eur_balance

Probably an api change?

Needs some updating

To run this on windows, I've had to update npm packages
"brunch": "2.10.16",
"handlebars-brunch": "2.10.0",

and python packages
hiredis==0.2.0

And also your readme is lacking
python setup.py develop to run the app in development mode.

And I haven't been able to solve the SSL error I'm getting upon authentication with python 3.4:

File "**\cointrol\env\lib\site-packages\tornado\iostream.py", line 1310, in _do_ssl_handshake self.socket.do_handshake() File "C:\Python34\Lib\ssl.py", line 767, in do_handshake self._sslobj.do_handshake() ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:598)

sample strategie

hi there, can u post a sample strategie please. its possible to use with trailing ?

Cointrol Trader error

I have following error while trading. I have defined fixed price strategy and session:

[```
2018-01-04 03:10:18,219 I] cointrol.trader.workers.Trader: will try again
[2018-01-04 03:10:21,225 E] cointrol.trader.workers.Trader: work failed
Traceback (most recent call last):
File "/home/rovshan/development/Cointrol/cointrol/cointrol/trader/workers.py", line 68, in run_forever
result = yield self.work()
File "/home/rovshan/development/Cointrol/virtualenv/lib/python3.6/site-packages/tornado/gen.py", line 1055, in run
value = future.result()
File "/home/rovshan/development/Cointrol/virtualenv/lib/python3.6/site-packages/tornado/concurrent.py", line 238, in result
raise_exc_info(self._exc_info)
File "", line 4, in raise_exc_info
File "/home/rovshan/development/Cointrol/virtualenv/lib/python3.6/site-packages/tornado/gen.py", line 307, in wrapper
yielded = next(result)
File "/home/rovshan/development/Cointrol/cointrol/cointrol/trader/workers.py", line 181, in work
trading_session = account.get_active_trading_session()
File "/home/rovshan/development/Cointrol/cointrol/cointrol/core/models.py", line 79, in get_active_trading_session
session.set_status(FINISHED)
File "/home/rovshan/development/Cointrol/cointrol/cointrol/core/models.py", line 186, in set_status
assert self.became_finished is None
AssertionError

Index.html not found when running the server..

Environment:


Request Method: GET
Request URL: http://localhost:8000/

Django Version: 1.11.6
Python Version: 3.7.5
Installed Applications:
['django_extensions',
 'rest_framework',
 'cointrol.core',
 'cointrol.server',
 'cointrol.trader',
 'django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.staticfiles']
Installed Middleware:
['django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware']



Traceback:

File "/home/popey/Cointrol/virtualenv/lib/python3.7/site-packages/django/core/handlers/exception.py" in inner
  41.             response = get_response(request)

File "/home/popey/Cointrol/virtualenv/lib/python3.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
  249.             response = self._get_response(request)

File "/home/popey/Cointrol/virtualenv/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
  187.                 response = self.process_exception_by_middleware(e, request)

File "/home/popey/Cointrol/virtualenv/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
  185.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/home/popey/Cointrol/cointrol/cointrol/server/urls.py" in index_view
  25.         with open(INDEX_FILE_PATH, 'r') as index:

Exception Type: FileNotFoundError at /
Exception Value: [Errno 2] No such file or directory: '/home/popey/Cointrol/cointrol/webapp/public/index.html'

NPM install fails in cointrol/webapp

Got following error when trying to do npm install in cointrol/webapp dir:

[email protected] postinstall /Users/xxxxx/Cointrol/cointrol/webapp/node_modules/handlebars-brunch
node ./postinstall.js

fs.js:144
throw new ERR_INVALID_CALLBACK();
^

TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
at makeCallback (fs.js:144:11)
at Object.mkdir (fs.js:745:14)
at Object. (/Users/bastiaenvanderrest/Cointrol/cointrol/webapp/node_modules/handlebars-brunch/postinstall.js:8:4)
at Module._compile (internal/modules/cjs/loader.js:722:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:733:10)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
at Function.Module._load (internal/modules/cjs/loader.js:552:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:775:12)
at startup (internal/bootstrap/node.js:300:19)
npm WARN [email protected] No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: node ./postinstall.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

on_delete error with django when running "cointrol/manage.py migrate"

Hello, I already tried to solve this without success by following this article:

(virtualenv) popey@popey-N85-N87-HJ-HJ1-HK1:~/Cointrol$ cointrol/manage.py migrate
Traceback (most recent call last):
  File "cointrol/manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/home/popey/Cointrol/virtualenv/lib/python3.7/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line
    utility.execute()
  File "/home/popey/Cointrol/virtualenv/lib/python3.7/site-packages/django/core/management/__init__.py", line 345, in execute
    settings.INSTALLED_APPS
  File "/home/popey/Cointrol/virtualenv/lib/python3.7/site-packages/django/conf/__init__.py", line 76, in __getattr__
    self._setup(name)
  File "/home/popey/Cointrol/virtualenv/lib/python3.7/site-packages/django/conf/__init__.py", line 63, in _setup
    self._wrapped = Settings(settings_module)
  File "/home/popey/Cointrol/virtualenv/lib/python3.7/site-packages/django/conf/__init__.py", line 142, in __init__
    mod = importlib.import_module(self.SETTINGS_MODULE)
  File "/home/popey/Cointrol/virtualenv/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/popey/Cointrol/cointrol/cointrol/__init__.py", line 8, in <module>
    django.setup()
  File "/home/popey/Cointrol/virtualenv/lib/python3.7/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/home/popey/Cointrol/virtualenv/lib/python3.7/site-packages/django/apps/registry.py", line 114, in populate
    app_config.import_models()
  File "/home/popey/Cointrol/virtualenv/lib/python3.7/site-packages/django/apps/config.py", line 211, in import_models
    self.models_module = import_module(models_module_name)
  File "/home/popey/Cointrol/virtualenv/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/popey/Cointrol/cointrol/cointrol/core/models.py", line 11, in <module>
    from .castable import CastableModel
  File "/home/popey/Cointrol/cointrol/cointrol/core/castable.py", line 31, in <module>
    class CastableModel(models.Model):
  File "/home/popey/Cointrol/cointrol/cointrol/core/castable.py", line 38, in CastableModel
    null=True,
TypeError: __init__() missing 1 required positional argument: 'on_delete'

Ripple Trading

Hello,

Is it possible to trade ripple on bitstamp with this program ? The auto trader can make transaction or not, isn't clear for me ?

Thank you, and congralutation for this work !

Docker build fails

Trying to build a docker image using the Dockerfile in the instructions fails with:

typings ERR! message Attempted to compile "lodash" as an ambient module, but it looks like an external module.

AttributeError: module 'html.parser' has no attribute 'HTMLParseError'

I'm following the install instructions and I'm stuck in this error:

(virtualenv) ~/Cointrol ❯❯❯ cointrol/manage.py migrate
Traceback (most recent call last):
  File "cointrol/manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/Users/yriveiro/Cointrol/virtualenv/lib/python3.6/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
    utility.execute()
  File "/Users/yriveiro/Cointrol/virtualenv/lib/python3.6/site-packages/django/core/management/__init__.py", line 345, in execute
    settings.INSTALLED_APPS
  File "/Users/yriveiro/Cointrol/virtualenv/lib/python3.6/site-packages/django/conf/__init__.py", line 46, in __getattr__
    self._setup(name)
  File "/Users/yriveiro/Cointrol/virtualenv/lib/python3.6/site-packages/django/conf/__init__.py", line 42, in _setup
    self._wrapped = Settings(settings_module)
  File "/Users/yriveiro/Cointrol/virtualenv/lib/python3.6/site-packages/django/conf/__init__.py", line 94, in __init__
    mod = importlib.import_module(self.SETTINGS_MODULE)
  File "/Users/yriveiro/Cointrol/virtualenv/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 978, in _gcd_import
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load
  File "<frozen importlib._bootstrap>", line 936, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 978, in _gcd_import
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load
  File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed
  File "/Users/yriveiro/Cointrol/cointrol/cointrol/__init__.py", line 8, in <module>
    django.setup()
  File "/Users/yriveiro/Cointrol/virtualenv/lib/python3.6/site-packages/django/__init__.py", line 18, in setup
    from django.utils.log import configure_logging
  File "/Users/yriveiro/Cointrol/virtualenv/lib/python3.6/site-packages/django/utils/log.py", line 13, in <module>
    from django.views.debug import ExceptionReporter, get_exception_reporter_filter
  File "/Users/yriveiro/Cointrol/virtualenv/lib/python3.6/site-packages/django/views/debug.py", line 10, in <module>
    from django.http import (HttpResponse, HttpResponseServerError,
  File "/Users/yriveiro/Cointrol/virtualenv/lib/python3.6/site-packages/django/http/__init__.py", line 4, in <module>
    from django.http.response import (
  File "/Users/yriveiro/Cointrol/virtualenv/lib/python3.6/site-packages/django/http/response.py", line 13, in <module>
    from django.core.serializers.json import DjangoJSONEncoder
  File "/Users/yriveiro/Cointrol/virtualenv/lib/python3.6/site-packages/django/core/serializers/__init__.py", line 23, in <module>
    from django.core.serializers.base import SerializerDoesNotExist
  File "/Users/yriveiro/Cointrol/virtualenv/lib/python3.6/site-packages/django/core/serializers/base.py", line 6, in <module>
    from django.db import models
  File "/Users/yriveiro/Cointrol/virtualenv/lib/python3.6/site-packages/django/db/models/__init__.py", line 6, in <module>
    from django.db.models.query import Q, QuerySet, Prefetch  # NOQA
  File "/Users/yriveiro/Cointrol/virtualenv/lib/python3.6/site-packages/django/db/models/query.py", line 13, in <module>
    from django.db.models.fields import AutoField, Empty
  File "/Users/yriveiro/Cointrol/virtualenv/lib/python3.6/site-packages/django/db/models/fields/__init__.py", line 18, in <module>
    from django import forms
  File "/Users/yriveiro/Cointrol/virtualenv/lib/python3.6/site-packages/django/forms/__init__.py", line 6, in <module>
    from django.forms.fields import *  # NOQA
  File "/Users/yriveiro/Cointrol/virtualenv/lib/python3.6/site-packages/django/forms/fields.py", line 18, in <module>
    from django.forms.utils import from_current_timezone, to_current_timezone
  File "/Users/yriveiro/Cointrol/virtualenv/lib/python3.6/site-packages/django/forms/utils.py", line 15, in <module>
    from django.utils.html import format_html, format_html_join, escape
  File "/Users/yriveiro/Cointrol/virtualenv/lib/python3.6/site-packages/django/utils/html.py", line 16, in <module>
    from .html_parser import HTMLParser, HTMLParseError
  File "/Users/yriveiro/Cointrol/virtualenv/lib/python3.6/site-packages/django/utils/html_parser.py", line 12, in <module>
    HTMLParseError = _html_parser.HTMLParseError
AttributeError: module 'html.parser' has no attribute 'HTMLParseError'

AssertionError when adding relativestrategy profile.

Great project! Everything is up and running. I get this little error when trying to add a relative strategy profile. (for example, sell 0,002 and buy 0,001)

AssertionError at /admin/core/relativestrategyprofile/add/
No exception message supplied
Request Method: POST
Request URL: http://localhost:8000/admin/core/relativestrategyprofile/add/
Django Version: 1.8
Exception Type: AssertionError
Exception Location: /cointrol/cointrol/cointrol/core/models.py in save, line 126
Python Executable: /Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6
Python Version: 3.6.0
Python Path:
['/Library/Frameworks/Python.framework/Versions/3.6/bin',
'/Library/Frameworks/Python.framework/Versions/3.6/lib/python36.zip',
'/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6',
'/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload',
'/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages',

Unable to brunch build - Windows x64

Hello there ,

Windows x64

step : brunch build

error :

You need to have Sass on your system
Execute `gem install sass`
events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: write EPIPE
    at exports._errnoException (util.js:1020:11)
    at Socket._writeGeneric (net.js:711:26)
    at Socket._write (net.js:730:8)
    at doWrite (_stream_writable.js:331:12)
    at writeOrBuffer (_stream_writable.js:317:5)
    at Socket.Writable.write (_stream_writable.js:243:11)
    at Socket.write (net.js:657:40)
    at Socket.Writable.end (_stream_writable.js:477:10)
    at Socket.end (net.js:427:31)
    at execute (C:\cointrol-bot\cointrol\webapp\node_modules\sass-brunch\lib\index.js:105:25)
    at delay (C:\cointrol-bot\cointrol\webapp\node_modules\sass-brunch\lib\index.js:109:16)
    at SassCompiler.module.exports.SassCompiler.compile (C:\cointrol-bot\cointrol\webapp\node_modules\sass-brunch\lib\index.js:114:12)
    at C:\cointrol-bot\cointrol\webapp\node_modules\brunch\lib\fs_utils\pipeline.js:94:31
    at fn (C:\cointrol-bot\cointrol\webapp\node_modules\async-waterfall\index.js:19:24)
    at Immediate.<anonymous> (C:\cointrol-bot\cointrol\webapp\node_modules\async-waterfall\index.js:58:22)
    at runCallback (timers.js:672:20)
    at tryOnImmediate (timers.js:645:5)
    at processImmediate [as _immediateCallback] (timers.js:617:5)

I installed ruby and failed to install gem also

C:\Ruby24-x64\rubygems-2.6.12>ruby setup.rb --help

C:/Ruby24-x64/lib/ruby/2.4.0/win32/registry.rb:72:in `find': unknown encoding name - CP720 (ArgumentError)
        from C:/Ruby24-x64/lib/ruby/2.4.0/win32/registry.rb:72:in `<module:Win32>'
        from C:/Ruby24-x64/lib/ruby/2.4.0/win32/registry.rb:4:in `<top (required)>'
        from C:/Ruby24-x64/lib/ruby/site_ruby/2.4.0/ruby_installer/runtime/msys2_installation.rb:46:in `require'
        from C:/Ruby24-x64/lib/ruby/site_ruby/2.4.0/ruby_installer/runtime/msys2_installation.rb:46:in `iterate_msys_paths'
        from C:/Ruby24-x64/lib/ruby/site_ruby/2.4.0/ruby_installer/runtime/msys2_installation.rb:69:in `msys_path'
        from C:/Ruby24-x64/lib/ruby/site_ruby/2.4.0/ruby_installer/runtime/msys2_installation.rb:82:in `mingw_bin_path'
        from C:/Ruby24-x64/lib/ruby/site_ruby/2.4.0/ruby_installer/runtime/msys2_installation.rb:92:in `enable_dll_search_paths'
        from C:/Ruby24-x64/lib/ruby/site_ruby/2.4.0/ruby_installer/runtime/singleton.rb:27:in `enable_dll_search_paths'
        from C:/Ruby24-x64/lib/ruby/2.4.0/rubygems/defaults/operating_system.rb:3:in `<top (required)>'
        from C:/Ruby24-x64/lib/ruby/2.4.0/rubygems.rb:1345:in `require'
        from C:/Ruby24-x64/lib/ruby/2.4.0/rubygems.rb:1345:in `<top (required)>'
        from <internal:gem_prelude>:4:in `require'
        from <internal:gem_prelude>:4:in `<internal:gem_prelude>'

Any advice to run simpler interface ?! Also how I can add support for other exchanges like cex.io

Error: install npm

I have try install "npm install" show errors:
npm install

[email protected] postinstall /home/jczars/Cointrol/cointrol/webapp/node_modules/handlebars-brunch
node ./postinstall.js

sh: 1: node: not found
npm WARN [email protected] No license field.
npm ERR! Linux 4.10.0-40-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn

npm ERR! [email protected] postinstall: node ./postinstall.js
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'node ./postinstall.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the handlebars-brunch package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./postinstall.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs handlebars-brunch
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls handlebars-brunch
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/jczars/Cointrol/cointrol/webapp/npm-debug.log

cointrol-trader error

Hello,

if I'm starting cointrol-trader, I'm getting following error, what doses this mean?

[2017-03-11 23:53:50,022 E] cointrol.trader.workers.Ticker: work failed
Traceback (most recent call last):
  File "/root/bitcoin/Cointrol/cointrol/cointrol/trader/workers.py", line 68, in run_forever
    result = yield self.work()
  File "/root/bitcoin/Cointrol/virtualenv/lib/python3.4/site-packages/tornado/gen.py", line 807, in run
    value = future.result()
  File "/root/bitcoin/Cointrol/virtualenv/lib/python3.4/site-packages/tornado/concurrent.py", line 209, in result
    raise_exc_info(self._exc_info)
  File "<string>", line 3, in raise_exc_info
  File "/root/bitcoin/Cointrol/virtualenv/lib/python3.4/site-packages/tornado/gen.py", line 810, in run
    yielded = self.gen.throw(*sys.exc_info())
  File "/root/bitcoin/Cointrol/cointrol/cointrol/trader/workers.py", line 391, in work
    ticker = yield Task(bitstamp_client.ticker)
  File "/root/bitcoin/Cointrol/virtualenv/lib/python3.4/site-packages/tornado/gen.py", line 807, in run
    value = future.result()
  File "/root/bitcoin/Cointrol/virtualenv/lib/python3.4/site-packages/tornado/concurrent.py", line 209, in result
    raise_exc_info(self._exc_info)
  File "<string>", line 3, in raise_exc_info
  File "/root/bitcoin/Cointrol/virtualenv/lib/python3.4/site-packages/tornado/stack_context.py", line 314, in wrapped
    ret = fn(*args, **kwargs)
  File "/root/bitcoin/Cointrol/cointrol/cointrol/trader/bitstamp.py", line 212, in <lambda>
    resp, model_class))
  File "/root/bitcoin/Cointrol/cointrol/cointrol/trader/bitstamp.py", line 250, in _process_response
    data = model_class(data)
  File "/root/bitcoin/Cointrol/cointrol/cointrol/trader/bitstamp.py", line 72, in __init__
    raise ValueError('%s unknown field: %r' % (type(self), key))
ValueError: <class 'cointrol.trader.bitstamp.Ticker'> unknown field: 'open'
will try again

redis install problem

installation of hiredis not working
failed buildingwheel for hiredis error....
please advice

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.