codereclaimers / btce-bot Goto Github PK
View Code? Open in Web Editor NEWLibrary to support building trading bots for the BTC-e cryptocurrency exchange.
License: MIT License
Library to support building trading bots for the BTC-e cryptocurrency exchange.
License: MIT License
Being able to play back a database through a bot to measure performance (both processing time and profitability) would be helpful.
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?
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
Error in handler <bound method RangeTrader.onNewDepth of <main.RangeTrader object at 0x7f56a9e8cc90>> for ltc_usd depth
The bot should also keep running, unless the user specifies that it should stop after a certain number of exchange failures within a given time?.
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 ?
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
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.
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 in handler <bound method RangeTrader.onNewDepth of <main.RangeTrader object at 0x102d11690>> for ltc_usd depth
i don't know what is the problem?
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!
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.