Comments (7)
from twitter_activated_crypto_trading_bot.
Hi, I am trading with binance, I have successfully self tested doge/btc buy sell in a 30s timeline.
If I use this format for the json
{ "twitter_keys":{ "consumer_key":"xxx", "consumer_secret":"xxx", "access_token_key":"xxx", "access_token_secret":"xxx" }, "binance_keys":{ "api_key":"xxx", "secret_key":"xxx" } }
it works correctly. If I use the one one on the readme, with the "kraken" like like this
{ "twitter_keys":{ "consumer_key":"XXXXXXXXXXXXXXXXXXXX", "consumer_secret":"XXXXXXXXXXXXXXXXXXXX", "access_token_key":"XXXXXXXXXXXXXXXXXXXX", "access_token_secret":"XXXXXXXXXXXXXXXXXXXX" }, "binance_keys":{ "api_key":"XXXXXXXXXXXXXXXXXXXX", "secret_key":"XXXXXXXXXXXXXXXXXXXX" }, "kraken_keys":{XXXXXX} }
i first get an escape error because it says that kraken_keys needs "somekey" (correcty I think) and if I fill the value it gives
Traceback (most recent call last): File "twitter_binance.py", line 59, in <module> api_keys = json.loads(f.read()) File "/usr/lib64/python3.8/json/__init__.py", line 357, in loads return _default_decoder.decode(s) File "/usr/lib64/python3.8/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib64/python3.8/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Expecting ':' delimiter: line 12 column 23 (char 545)
I am not trading with kraken, but if someone trade with kraken AND binance, should have 2 separate config files?
I do understand it's a works in progres, I am just curious. Thanks in advance.
from twitter_activated_crypto_trading_bot.
from twitter_activated_crypto_trading_bot.
Not exactly, without the double quote I get this error
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 12 column 20 (char 542)
and with the double quotes, like "kraken_keys":{"XXXXXXX"} i get this other error
json.decoder.JSONDecodeError: Expecting ':' delimiter: line 12 column 28 (char 550)
but it just works if I fully remove the kraken line.
from twitter_activated_crypto_trading_bot.
from twitter_activated_crypto_trading_bot.
Thanks :-)
I hope you will implement the "new listed coin feature" :-)
Now I hope to test the real thing soon. Such Moon Much Doge!
from twitter_activated_crypto_trading_bot.
from twitter_activated_crypto_trading_bot.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twitter_activated_crypto_trading_bot.