Welcome, Guest |
You have to register before you can post on our site.
|
Latest Threads |
Gekko development status ...
Forum: Announcements
Last Post: BeardDemon
9 hours ago
» Replies: 1,005
» Views: 930,638
|
Gekko 0.6 released
Forum: Announcements
Last Post: Pharagon
11-23-2024, 10:13 AM
» Replies: 122
» Views: 268,984
|
An official Gekko service...
Forum: Announcements
Last Post: drivemad2
11-22-2024, 07:24 AM
» Replies: 103
» Views: 189,754
|
New Gekko UI in the works
Forum: Announcements
Last Post: clduplicateremover
11-18-2024, 08:21 PM
» Replies: 174
» Views: 227,549
|
Gekko with malware spotte...
Forum: Announcements
Last Post: thesyrise
11-16-2024, 10:12 PM
» Replies: 188
» Views: 169,935
|
How to Soft Reset or Hard...
Forum: General Discussion
Last Post: lucifar
10-07-2021, 07:18 PM
» Replies: 22
» Views: 52,993
|
How to add Binance Future...
Forum: Technical Support
Last Post: Xavier32
10-07-2021, 02:20 PM
» Replies: 47
» Views: 108,340
|
Bittrex Configuration hel...
Forum: Bittrex
Last Post: yirzolusto
10-07-2021, 07:39 AM
» Replies: 6
» Views: 19,105
|
[Question] Why does gekko...
Forum: General Discussion
Last Post: cryptocurrency0
10-06-2021, 01:16 PM
» Replies: 16
» Views: 45,814
|
a couple of technical Que...
Forum: Technical Support
Last Post: mtom78632
10-06-2021, 11:08 AM
» Replies: 25
» Views: 58,566
|
|
|
how to new updates |
Posted by: ankasem - 02-09-2018, 05:18 PM - Forum: General Discussion
- No Replies
|
|
hi
how to new updates binance = npm install binance
how to gekko new updates gekko
new gekko 0.5.13 update
run terminal
Exit in the gekko folder
cd ..
gekko folder rename
git clone git://github.com/askmike/gekko.git
cd gekko
npm install --only=production
node gekko --ui
--------------------------------------
first copy the history folder to another if there are downloaded data
|
|
|
i can't see my new strategy |
Posted by: remony - 02-09-2018, 06:01 AM - Forum: Technical Support
- Replies (2)
|
|
can u explain how to embed in new strategy.
i create a .js file under gekko/strategies
i create a .toml file under gekko/config/strategies but
i can't see it under the strategy menu. what i am missing?
|
|
|
a couple of technical Questions |
Posted by: Derbeweis - 02-09-2018, 05:08 AM - Forum: Technical Support
- Replies (25)
|
|
Hello,
first of all I want to thank you all here for the great work... I have been researching trading bots along time now, and I have to admit your work here is great... so thanks... and keep up the great work...
also looking forward for the hosted Gekko that you announced... that could be great for a lot of us...
now to my questions...
I am setting Gekko up to run in an VPS on Linux, and I am convinced with a good strategy that I want to try now live...
And after reading the comments of ASKMIKE I decided to run Gekko from the CL
but I still have some Questions:
1. the ORDERS:
how will Gekko perform the orders on the exchanges ? are they market orders or limit orders ? and if they are limit orders, and they don't trigger (the price moved very fast) will it cancel the order or not? and if they are Market Orders, will it consider the Advice price as the start or the real price that it was able to get on the exchange ?
and because we are in Exchanges (not CFDs) does this mean Gekko will never be able to run a Short before it had a Long right?
2. Margin:
is it possible to make Gekko run Margin Orders (in Bitfinix for example!) or will it always run an exchange order?
3. Multiplie instances:
I understood from multiple comments from Mike, that Gekko always uses 100% of the asset to run a strategy, so if I want trade more than one trader on the same exchange I should use disjunct couples i.e. BTC/USD , ETH/EUR for example... and I need to start a different Terminal window and a Gekko in every one... the main Question now:
do I need to make a different copy of Gekko (different folder) for every Livetrade Gekko? I understand that I have to change the config files for every Livetrade Setup (to add the different APIs if I am using different exchanges, and to add different parameters for the same strategy or different strategies.. IS THIS right?
so for example If I want to run 3 Pairs (BTC/USD, ETH/EUR on Bitfiniex and BTC/LTC on Binance) I make 3 copies of Gekko, run every one separate in a terminal window and leave it working...
Am I right?
I appreciate your help very much...
thanks..
|
|
|
Ping Pong strategy ?? |
Posted by: Storm-E - 02-09-2018, 04:17 AM - Forum: Strategy Development
- Replies (2)
|
|
Hi all
I saw a post on here about ping pong strategy but can't find it. Was I just delustional or was it deleted?
I'm only a newbie to Gekko and trading but ping pong is the kind of thing with my limited knowledge I can get my head around and would like to creating.
When I work out how to work with Gekko.
So anyone know about it or have a copy of the basic work done so I don't have to reinvent the wheel?
Thanks
john
|
|
|
Adding custom trading indicator to own strategy |
Posted by: SuperUserek - 02-08-2018, 09:43 PM - Forum: Strategy Development
- Replies (1)
|
|
Hi there, i am very new to Gekko. As a programmer (hobbyist) i was going to make my own bot till i have found Gekko, but lack of documentation and js (yet - so far i know basics so i will get on it quick) decided to use it and apply my trading skills. And make my own stategies with as less loss as possible.
But to start of i need some of you to clarify some things for me.
There is simple strategy config in js to be customised.
Code: // Let's create our own strategy
var strat = {};
// Prepare everything our strat needs
strat.init = function() {
// your code!
}
// What happens on every new candle?
strat.update = function(candle) {
// your code!
}
// For debugging purposes.
strat.log = function() {
// your code!
}
// Based on the newly calculated
// information, check if we should
// update or not.
strat.check = function(candle) {
// your code!
}
// Optional for executing code
// after completion of a backtest.
// This block will not execute in
// live use as a live gekko is
// never ending.
strat.end = function() {
// your code!
}
module.exports = strat;
I have had a look inside some strategies. And still doesnt understand where did you get variables and results from your own strategy.
For instance i would like to use Tulib and use some of indicators for example BBands.
So to code above as i have found on your webside to use tulib indicators example as followes
Code: method.init = function() {
var customMACDSettings = {
optInFastPeriod: 10,
optInSlowPeriod: 21,
optInSignalPeriod: 9
}
// add the indicator to the strategy
this.addTulipIndicator('mymacd', 'macd', customMACDSettings);
}
method.check = function() {
// use indicator results
var result = this.tulipIndicators.mymacd.result;
var macddiff = result['macd'] - result['macdSignal'];
// do something with macdiff
}
I have put this together for Bbands indicator but got some questions about it can you have a look on the code?
Code: // Let's create our own strategy
var custommethod = {};
// ---------------------------- INIT
custommethod.init = function() {
var customBBandsParams = {
//I THINK this should be taken from: https://gekko.wizb.it/docs/strategies/tulip_indicators.html
optInTimePeriod: 20,
optInNbStdDevs: 2,
}
//this.addTulipIndicator('FUNCNAME,INDICNAME,PARAMSIFNEEDED')? <-- IS THIS RIGHT THINKING?
this.addTulipIndicator('mybbands', 'bbands', customBBandsParams);
}
// What happens on every new candle?
custommethod.update = function(candle) {
// LETS SKIP THAT FOR NOW
// CHECKING PRICE OR SOMETHING ELSE
}
// For debugging purposes.
custommethod.log = function() {
// LETS SKIP THAT FOR NOW
}
custommethod.check = function(candle) {
// your code!
var result = this.tulipIndicators.mybbands.result;
var resultofbbands = result['bbands'];
//==============??????????????? HOW DO I GET DETAILS ABOUT IT TO CONSOLE?
//==============??????????????? WHERE DID YOU GET LETS SAY 3 LINES top middle bottom one printed out to actually print numbers of possition of those bands??
log.debug('RESULT FROM INDICATOR BBANDS');
log.debug(result);
log.debug('RESULT OF BBANDS');
log.debug(resultofbbands);
}
/////////////////EXAMPLE WITH MACD FROM JS FILES
//method.check = function() {
// // use indicator results
// QUESTION WHERE DID YOU GOT THOSE VARIABLES SUCH AS RESULT MACD and MACDSIGNAL?
// ANY WEBSITE / MANUAL ???
// var macddiff = result['macd'] - result['macdSignal'];
// var result = this.tulipIndicators.mymacd.result;
//
// // do something with macdiff
//}
// Optional for executing code
// after completion of a backtest.
// This block will not execute in
// live use as a live gekko is
// never ending.
custommethod.end = function() {
// your code!
}
module.exports = custommethod;
This is my first attempt and i have loads of questions
Thanks for looking, hope you can clarify my questions and make it brighter for me and others.
//I have already added this post but in wrong place.
|
|
|
Adding Strategies |
Posted by: proton - 02-08-2018, 08:42 PM - Forum: Technical Support
- Replies (10)
|
|
I’m running gekko on windows vm with bash. Can’t figure out how to add new strategies.
Can anyone help ?? Adding .js and .toml doesn't work - they don't appear in UI
I saw this:
"You can activate your own strategy by setting config.tradingAdvisor.strategy to custom (or whatever you named your file inside the gekko/strategies) in the loaded config."
But, No idea what that means
|
|
|
|