MobGod
|
|
July 05, 2013, 07:30:25 PM |
|
ok no page or anything so it's all done in terminal but why does mine site there and thats all?
|
|
|
|
whydifficult (OP)
|
|
July 05, 2013, 08:02:22 PM |
|
Can i use this to trade LTC at BTC-e?
Not at this moment, there are plans as discussed on Github though. Nope, no web page.
Anyway, using Bitstamp all of a sudden, everything is NaN
Hmm that's a bug for sure, I'll look into this in an hour or so! You are using the latest version, right? ok no page or anything so it's all done in terminal but why does mine site there and thats all?
The bot looks at the market every [interval] to see wether the EMA strategy suggests to go either long or short (you should either buy or sell bitcoin) by riding the trend. You can change the settings in config.js, take a look at this document which describes what everything means. [interval] is a setting of the EMA strategy which is the period in minutes per candle. This means Gekko will only recheck what to do every [interval] minutes, default is 60 minutes.
|
Gekko a nodejs bitcoin trading bot! Realtime Bitcoin Globe - visualizing all transactions and blocks Tip jar (BTC): 1KyQdQ9ctjCrGjGRCWSBhPKcj5omy4gv5S
|
|
|
jago25_98
|
|
July 05, 2013, 10:18:16 PM |
|
That's strange... I get no update after an hour (interval is 60 in config.js)... in fact I left it for a day and no update. It just checks the EMA once and then no more... but continues running. If I quit and rerun it does the same - gives one advice and then no more How do you know it's still working? I ran it, it gave one trade advice... and nothing else since...
By default it runs every hour.
|
Bitcoiner since the early days. Crypto YouTube Channel: Trading Nomads | Analyst | News Reporter | Bitcoin Hodler | Support Freedom of Speech!
|
|
|
MobGod
|
|
July 06, 2013, 12:14:18 AM |
|
That's strange... I get no update after an hour (interval is 60 in config.js)... in fact I left it for a day and no update. It just checks the EMA once and then no more... but continues running. If I quit and rerun it does the same - gives one advice and then no more How do you know it's still working? I ran it, it gave one trade advice... and nothing else since...
By default it runs every hour. I'm having the same problem it's not working for me
|
|
|
|
whydifficult (OP)
|
|
July 06, 2013, 01:03:45 AM |
|
I have finally found the bug regarding BTC-e monitoring. Gekko broke over BTC-e monitoring because bitcoinCharts (the API Gekko uses to get trade data from BTC-e) changed the way services can ask for trade data (silently). Current workaround for BTC-e users: - Set debug in the config to true (line 145)
- Set the candles to something lower than 40 (line 22)
- Run Gekko
- Check whether the calulcated EMAs are NaN, if they are lower the 40 number
The reason the 40 number can be different is that now bitcoinCharts will return the last 2000 trades, and how long ago the oldest one happened depends on the market.
|
Gekko a nodejs bitcoin trading bot! Realtime Bitcoin Globe - visualizing all transactions and blocks Tip jar (BTC): 1KyQdQ9ctjCrGjGRCWSBhPKcj5omy4gv5S
|
|
|
MobGod
|
|
July 06, 2013, 01:09:41 AM |
|
I have finally found the bug regarding BTC-e monitoring. Gekko broke over BTC-e monitoring because bitcoinCharts (the API Gekko uses to get trade data from BTC-e) changed the way services can ask for trade data (silently). Current workaround for BTC-e users: - Set debug in the config to true (line 145)
- Set the candles to something lower than 40 (line 22)
- Run Gekko
- Check whether the calulcated EMAs are NaN, if they are lower the 40 number
The reason the 40 number can be different is that now bitcoinCharts will return the last 2000 trades, and how long ago the oldest one happened depends on the market. Ok I'll try that but how do I set up a trade or anything like that I've read this config 100 times maybe for people like me lol you can show a example than I can go off that.
|
|
|
|
whydifficult (OP)
|
|
July 06, 2013, 01:13:33 AM |
|
let me know if it works! Did you see this document? Anyway here is how you can configure Gekko to auto trade on BTC-e: config.normal = { enabled: true, exchange: 'BTCe', // 'MtGox', 'BTCe' or 'Bitstamp' currency: 'USD', asset: 'BTC', tradingEnabled: true, key: 'your API key', secret: 'your API secret', } The API key and secret can be generated on the profile page on btce. Gekko only need trade rights. I'm off to bed now.
|
Gekko a nodejs bitcoin trading bot! Realtime Bitcoin Globe - visualizing all transactions and blocks Tip jar (BTC): 1KyQdQ9ctjCrGjGRCWSBhPKcj5omy4gv5S
|
|
|
MobGod
|
|
July 06, 2013, 01:17:14 AM |
|
let me know if it works! Did you see this document? Anyway here is how you can configure Gekko to auto trade on BTC-e: config.normal = { enabled: true, exchange: 'BTCe', // 'MtGox', 'BTCe' or 'Bitstamp' currency: 'USD', asset: 'BTC', tradingEnabled: true, key: 'your API key', secret: 'your API secret', } The API key and secret can be generated on the profile page on btce. Gekko only need trade rights. I'm off to bed now.Wait where do I set the trade I'm trying for a different coin not btc I think I just set it to the coin I want but than where do I put the price I want to buy and sell at
|
|
|
|
MobGod
|
|
July 06, 2013, 01:46:33 AM |
|
ok i've set this up again now i get this node gekko
/Users/chiznillen/gekko/config.js:28 Monitor the live market ^^^ SyntaxError: Unexpected identifier at Module._compile (module.js:439:25) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17) at require (module.js:380:17) at Object.util.getConfig (/Users/chiznillen/gekko/util.js:9:12) at Object.<anonymous> (/Users/chiznillen/gekko/util.js:66:19) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10)
|
|
|
|
jago25_98
|
|
July 06, 2013, 07:30:31 AM |
|
There is no set price to buy and sell at - it's does it based on the EMA rate let me know if it works! Did you see this document? Anyway here is how you can configure Gekko to auto trade on BTC-e: config.normal = { enabled: true, exchange: 'BTCe', // 'MtGox', 'BTCe' or 'Bitstamp' currency: 'USD', asset: 'BTC', tradingEnabled: true, key: 'your API key', secret: 'your API secret', } The API key and secret can be generated on the profile page on btce. Gekko only need trade rights. I'm off to bed now.Wait where do I set the trade I'm trying for a different coin not btc I think I just set it to the coin I want but than where do I put the price I want to buy and sell at
|
Bitcoiner since the early days. Crypto YouTube Channel: Trading Nomads | Analyst | News Reporter | Bitcoin Hodler | Support Freedom of Speech!
|
|
|
MobGod
|
|
July 06, 2013, 08:03:30 AM |
|
There is no set price to buy and sell at - it's does it based on the EMA rate let me know if it works! Did you see this document? Anyway here is how you can configure Gekko to auto trade on BTC-e: config.normal = { enabled: true, exchange: 'BTCe', // 'MtGox', 'BTCe' or 'Bitstamp' currency: 'USD', asset: 'BTC', tradingEnabled: true, key: 'your API key', secret: 'your API secret', } The API key and secret can be generated on the profile page on btce. Gekko only need trade rights. I'm off to bed now.Wait where do I set the trade I'm trying for a different coin not btc I think I just set it to the coin I want but than where do I put the price I want to buy and sell at Ok thanks but did you see above I put my keys in but it won't do anything now looks like it errors out
|
|
|
|
whydifficult (OP)
|
|
July 06, 2013, 08:34:57 AM Last edit: July 06, 2013, 08:54:05 AM by whydifficult |
|
Wait where do I set the trade I'm trying for a different coin not btc I think I just set it to the coin I want but than where do I put the price I want to buy and sell at
On BTC-e Gekko currently only supports BTC. You can read every supported currency pair per exchange here. There is a discussion about using a different data provider so that altcoins are supported on Github. But unfortunatly this is not possible yet. ok i've set this up again now i get this node gekko
/Users/chiznillen/gekko/config.js:28 Monitor the live market ^^^ SyntaxError: Unexpected identifier at Module._compile (module.js:439:25) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17) at require (module.js:380:17) at Object.util.getConfig (/Users/chiznillen/gekko/util.js:9:12) at Object.<anonymous> (/Users/chiznillen/gekko/util.js:66:19) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10)
Line 28 is a comment, this is so I can explain what the block below does. Comments always need a double slash in front of them. So you should change: to // Monitor the live market Note that Gekko is a very technical tool, if you are having a lot of trouble with editing configuration files and watching the command line instead of a screen with a graph I recommand you to check out these similar projects. They are more focused on a user friendly tool. EDIT: The API key and secret can be generated on the profile page on btce. Gekko only need trade rights.
Correction: gekko need trade and info right on BTC-e, so that it knows the size of the orders it needs to create.
|
Gekko a nodejs bitcoin trading bot! Realtime Bitcoin Globe - visualizing all transactions and blocks Tip jar (BTC): 1KyQdQ9ctjCrGjGRCWSBhPKcj5omy4gv5S
|
|
|
MobGod
|
|
July 06, 2013, 02:12:04 PM |
|
Wait where do I set the trade I'm trying for a different coin not btc I think I just set it to the coin I want but than where do I put the price I want to buy and sell at
On BTC-e Gekko currently only supports BTC. You can read every supported currency pair per exchange here. There is a discussion about using a different data provider so that altcoins are supported on Github. But unfortunatly this is not possible yet. ok i've set this up again now i get this node gekko
/Users/chiznillen/gekko/config.js:28 Monitor the live market ^^^ SyntaxError: Unexpected identifier at Module._compile (module.js:439:25) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17) at require (module.js:380:17) at Object.util.getConfig (/Users/chiznillen/gekko/util.js:9:12) at Object.<anonymous> (/Users/chiznillen/gekko/util.js:66:19) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10)
Line 28 is a comment, this is so I can explain what the block below does. Comments always need a double slash in front of them. So you should change: to // Monitor the live market Note that Gekko is a very technical tool, if you are having a lot of trouble with editing configuration files and watching the command line instead of a screen with a graph I recommand you to check out these similar projects. They are more focused on a user friendly tool. EDIT: The API key and secret can be generated on the profile page on btce. Gekko only need trade rights.
Correction: gekko need trade and info right on BTC-e, so that it knows the size of the orders it needs to create. Thanks do you plan on adding any alt-coins at all kinda want this for ltc and the other you pointed out to me only does gox
|
|
|
|
pulsecat
|
|
July 06, 2013, 05:44:48 PM |
|
Note that Gekko is a very technical tool, if you are having a lot of trouble with editing configuration files and watching the command line instead of a screen with a graph I recommand you to check out these similar projects. They are more focused on a user friendly tool. Those who are experiencing problems with installing tools mentioned above, may also try http://CryptoTrader.org - web-based scripting platform that allows to run your own trading algorithms on historical mtgox data very easily. For details, check out this comment https://bitcointalk.org/index.php?topic=222696.msg2668832#msg2668832
|
|
|
|
MobGod
|
|
July 06, 2013, 06:16:35 PM |
|
anything out that will do LTC or alt-coins at all ??
|
|
|
|
|
MobGod
|
|
July 06, 2013, 06:33:55 PM |
|
Can this be compiled on a mac ?
|
|
|
|
daybyter
Legendary
Offline
Activity: 965
Merit: 1000
|
|
July 06, 2013, 06:37:13 PM |
|
Java should work everywhere...
But it's not the actual app...just the API implementations...
|
|
|
|
MobGod
|
|
July 06, 2013, 07:14:33 PM |
|
Java should work everywhere...
But it's not the actual app...just the API implementations...
Oh ok but I'm not sure how to add that info in or anything like that would you care to help?
|
|
|
|
jago25_98
|
|
July 06, 2013, 08:58:14 PM |
|
With backtesting on this I found 0.80/0.80 was better... thus perhaps best to change the gekko config file to: " sellTreshold: -0.80, buyTreshold: 0.80 " ? Note that Gekko is a very technical tool, if you are having a lot of trouble with editing configuration files and watching the command line instead of a screen with a graph I recommand you to check out these similar projects. They are more focused on a user friendly tool. Those who are experiencing problems with installing tools mentioned above, may also try http://CryptoTrader.org - web-based scripting platform that allows to run your own trading algorithms on historical mtgox data very easily. For details, check out this comment https://bitcointalk.org/index.php?topic=222696.msg2668832#msg2668832
|
Bitcoiner since the early days. Crypto YouTube Channel: Trading Nomads | Analyst | News Reporter | Bitcoin Hodler | Support Freedom of Speech!
|
|
|
|