Git Product home page Git Product logo

btce-bot's People

Contributors

alanmcintyre avatar codereclaimers avatar hsharrison 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

Watchers

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

btce-bot's Issues

raspberry pi throwing errors

I am trying to trade with a raspberrypi and i get the following errors

File "hello-world-bot.py", line 141, in
run(args.key_file, args.buy_floor, line 92, in run
File "hello-world-bot.py", line 92, in run
handler = btceapi.KeyHandler(key_file)
File "/usr/local/lib/python2.7/dist-packages/btceapi/keyhandler.py", line 30, in init
nonce = int(f.readline().strip())
ValueError: invalid literal for int() with base 10: ' '

any ideas how i fix this?

import problem

i'm not very familiar with python and im using a mac, i'm getting a import problem.
this is what i see in terminal
what i typed:
python hello-world-bot.py "/Volumes/www/libs/btce/credentials.txt" 4.0 4.1 --live-trades

Traceback (most recent call last):
File "hello-world-bot.py", line 4, in
import btceapi
ImportError: No module named btceapi

running error

Running; press Ctrl-C to stop
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/btce_api-0.3.1-py2.7.egg/btceapi/trade.py:180: UserWarning: The nonce in the key file is out of date; attempting to correct.
2017/03/28 19:58:41 - Error in handler <bound method RangeTrader.onNewDepth of <main.RangeTrader object at 0x102d11690>> for ltc_usd depth
2017/03/28 20:00:57 - Error while retrieving ltc_usd depth
i have this two types of error. I put the "Key" , "Secret" and nonce =1
any idea ?

KeyHandler error

I'm having the following error:

Traceback (most recent call last):
File "hello-world-bot.py", line 141, in
run(args.key_file, args.buy_floor, args.sell_ceiling, args.live_trades)
File "hello-world-bot.py", line 93, in run
key = handler.getKeys()[0]
AttributeError: 'KeyHandler' object has no attribute 'getKeys'

What could be the reason?

The command line was:

C:\Users\Alexander\nueva_api_btc\btce-bot-master\samples>python hello-world-bot.
py "C:\users\Alexander\nueva_api_btc\btce-bot-master\btce-keys.txt" 4.0 4.1

Thanks a lot

Error when running the samples

Hi,

When I try to run one of the samples, the below error occurs:

Traceback (most recent call last):
  File "hello-world-bot.py", line 8, in <module>
    import btcebot
  File "build/bdist.linux-x86_64/egg/btcebot/__init__.py", line 3, in <module>
  File "build/bdist.linux-x86_64/egg/btcebot/bot.py", line 9, in <module>
ImportError: cannot import name validatePair

There is no validatePair implementation in the common.py file as I see and it wants to import that.

error

MacBook-Pro-de-Renzo:samples Mac$
MacBook-Pro-de-Renzo:samples Mac$ python hello-world-bot.py "/Users/Mac/PycharmProjects/btcetest2/btce-keys.txt" 4.0 4.1
Traceback (most recent call last):
File "hello-world-bot.py", line 141, in
run(args.key_file, args.buy_floor, args.sell_ceiling, args.live_trades)
File "hello-world-bot.py", line 92, in run
handler = btceapi.KeyHandler(key_file)
File "build/bdist.macosx-10.6-intel/egg/btceapi/keyhandler.py", line 111, in init
File "build/bdist.macosx-10.6-intel/egg/btceapi/keyhandler.py", line 48, in init
File "build/bdist.macosx-10.6-intel/egg/btceapi/keyhandler.py", line 115, in _loadKeys
File "build/bdist.macosx-10.6-intel/egg/btceapi/keyhandler.py", line 133, in _parse
ValueError: invalid literal for int() with base 10: ''
MacBook-Pro-de-Renzo:samples Mac$

i don't know what is wrong

error

Error in handler <bound method RangeTrader.onNewDepth of <main.RangeTrader object at 0x102d11690>> for ltc_usd depth

i don't know what is the problem?

Sandbox

Hi, this isn't really an issue but I didn't find any other way to contact you.
I was thinking it would be really awesome if there were a sandbox on which to test one's trading algorithms, using the trading history. I have barely started using btce-bot, so I haven't dived deep into the code yet, but I would be willing to help if given some directions.
Thanks a lot for this in any case!

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.