Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 20,732
» Latest member: eveamelia102
» Forum threads: 1,541
» Forum posts: 7,732

Full Statistics

Online Users
There are currently 235 online users.
» 0 Member(s) | 235 Guest(s)

Latest Threads
New Gekko UI in the works
Forum: Announcements
Last Post: dejaoffice
Yesterday, 10:44 AM
» Replies: 137
» Views: 156,417
Gekko development status ...
Forum: Announcements
Last Post: zerzamilmu
04-20-2024, 11:39 AM
» Replies: 806
» Views: 536,292
An official Gekko service...
Forum: Announcements
Last Post: CaroleDennis
04-20-2024, 04:03 AM
» Replies: 85
» Views: 140,629
Gekko with malware spotte...
Forum: Announcements
Last Post: alisonagron
04-18-2024, 08:05 AM
» Replies: 130
» Views: 92,058
Gekko 0.6 released
Forum: Announcements
Last Post: sabinaholt
03-27-2024, 12:10 PM
» Replies: 104
» Views: 216,049
How to Soft Reset or Hard...
Forum: General Discussion
Last Post: lucifar
10-07-2021, 07:18 PM
» Replies: 22
» Views: 39,442
How to add Binance Future...
Forum: Technical Support
Last Post: Xavier32
10-07-2021, 02:20 PM
» Replies: 47
» Views: 81,856
Bittrex Configuration hel...
Forum: Bittrex
Last Post: yirzolusto
10-07-2021, 07:39 AM
» Replies: 6
» Views: 15,183
[Question] Why does gekko...
Forum: General Discussion
Last Post: cryptocurrency0
10-06-2021, 01:16 PM
» Replies: 16
» Views: 34,623
a couple of technical Que...
Forum: Technical Support
Last Post: mtom78632
10-06-2021, 11:08 AM
» Replies: 25
» Views: 45,751

 
Information Manually place limit orders that stay ontop
Posted by: Automatica - 07-28-2018, 09:07 PM - Forum: General Discussion - Replies (2)

Hello,

I am trying to figure out how I can use gekko to manually place buy limit orders that stay ontop of the orderbook when it starts moving. Stopping at a defined limit if the order is not filled.

I haven't been able to find a strategy that I want to use so i'm still trying to do manual trades.

Thanks!

PS: If this is in the wrong section, I am sorry please move it  Huh


  Place manual trades via CLI
Posted by: Automatica - 07-28-2018, 04:24 PM - Forum: Technical Support - Replies (1)

How can I use gekko to place trades manually? 

https://github.com/askmike/gekko/blob/de...y_order.md

I was reading this and it seems to do exactly what I want, but I don't understand how to use it/run it ... I tried to fill in all the details and run node gekko --config buy.js , with the example code but that didnt seem to work. Is there a way to run this from the command line and specify the buy price?


  Debugging Gekko
Posted by: faldor - 07-27-2018, 08:43 PM - Forum: Technical Discussion - Replies (3)

Hey all! I come from a Java/C# coding background and had a few questions around javascript/nodejs.

What do you use for debugging Gekko? I have made quite a few changes to my Gekko branch and the problems I have come across have been painful without a proper debugging technique.

What IDE is good for Debugging/stepping through code with javascript/nodejs? I have been using Visual Studio Code with no plugins. It has been nice for navigating files in the folder structure and coding, but need to have debugging setup in place.

Thanks and appreciate any feedback!


Sad Market exchange Bittrex
Posted by: biandrea - 07-27-2018, 11:52 AM - Forum: Technical Support - Replies (2)

Hello to all
Gekko boot (Gekko v0.5.13)
within via browser http: // localhost: 3000
in config
I insert the kay api of bittrex
Locate data
Import data
Market exchange
there is no Bittrex
because?


  Changing EMA to DEMA in a native strat (help please)
Posted by: Kris191 - 07-26-2018, 02:40 PM - Forum: Strategy Development - Replies (2)

Hi all,

I want to change the below strat from using EMA to using DEMA but if i change
 'this.addIndicator('short', 'EMA', this.settings.short)' to   this.addIndicator('short', 'DEMA', this.settings.short). 

Then i get the error in fig 2, the only thing that changes is the addition of the letter D. Even if

This is the working code, when i change 'EMA' to 'DEMA' i get the error in fig 2


Code:
var log = require('../core/log.js');

var method = {};

method.init = function() {
 this.name = 'Triple Moving Average';
 this.requiredHistory = this.settings.long;

 this.addIndicator('short', 'EMA', this.settings.short)
 this.addIndicator('medium', 'EMA', this.settings.medium)
 this.addIndicator('long', 'EMA', this.settings.long)
}

method.update = function(candle) {
 this.indicators.short.update(candle.close)
 this.indicators.medium.update(candle.close)
 this.indicators.long.update(candle.close)

 if((this.indicators.short.result > this.indicators.medium.result) && (this.indicators.medium.result > this.indicators.long.result)) {
 log.info('We are in an UP trend: Price =', this.indicators.short.result.toFixed(8))
} else if(this.indicators.medium.result < this.indicators.long.result) {
   log.info('We are in a DOWN trend: Price =', this.indicators.short.result.toFixed(8))
 }
}

method.check = function() {
 const short = this.indicators.short.result;
 const medium = this.indicators.medium.result;
 const long = this.indicators.long.result;

 if((short > medium) && (medium > long)) {
   this.advice('long')
   log.info('Were going long')
 } else if((short < medium) && (medium > long)) {
   this.advice('short')
   log.info('Were getting outta this')
 } else if((short > medium) && (medium < long)) {
   this.advice('short')
   log.info('Were getting outta this')
 } else {
   this.advice();
 }
}

module.exports = method;

fig 2

Code:
/root/gekko/strategies/TMA2.js:7
 this.requiredHistory = this.settings.long;
                                      ^

TypeError: Cannot read property 'long' of undefined
   at Base.method.init (/root/gekko/strategies/TMA2.js:7:40)
   at Base.bound [as init] (/root/gekko/node_modules/lodash/dist/lodash.js:729:21)
   at new Base (/root/gekko/plugins/tradingAdvisor/baseTradingMethod.js:70:8)
   at Actor.setupTradingMethod (/root/gekko/plugins/tradingAdvisor/tradingAdvisor.js:60:17)
   at Actor.bound [as setupTradingMethod] (/root/gekko/node_modules/lodash/dist/lodash.js:729:21)
   at new Actor (/root/gekko/plugins/tradingAdvisor/tradingAdvisor.js:23:8)
   at load (/root/gekko/core/pluginUtil.js:98:22)
   at /root/gekko/node_modules/async/dist/async.js:1156:9
   at replenish (/root/gekko/node_modules/async/dist/async.js:1030:17)
   at iterateeCallback (/root/gekko/node_modules/async/dist/async.js:1015:17)
root@vps520385:~/gekko# node gekko --config test.js --backtest
Help please, i'm guessing EMA and DEMA read code different but the DEMA indicator uses the EMA indicator??/

Thanks

EDIT: @askmike i hope this makes it clearer as to where my issue is.


Question Get current 10 minutes candle and last 10 minutes candle
Posted by: Syl - 07-26-2018, 10:59 AM - Forum: Strategy Development - Replies (3)

hi, I'm trying to write a custom strategy, and I wonder how can I get this 10 minutes candle and last 10 minutes candle.

if this question is  duplicate, pls give me some  reference, thank you!


  Code help (time plus)
Posted by: Kris191 - 07-25-2018, 11:05 AM - Forum: Technical Discussion - Replies (3)

Hi all

i want my cli to report when the next candle will trigger i.e 

Next candle time: (date and time)

I have the code to report current time how do i get it to report that time plus my candle size of 4 hrs?

Code:
log.info('\t Next Candle Update:', this.marketTime.format('YYYY-MM-DD HH:mm:ss'))

All help welcome please


  [HELP] Live Trading
Posted by: kenpachi - 07-24-2018, 11:03 AM - Forum: Strategy Development - Replies (4)

Hi everyone,
Im just new to Gekko.
Already installed and run headless server.
Tried backtest also.
But got this error when running BTC/POWR on Binance
CCI strategies

2018-07-24 18:58:28 (DEBUG):    NOT creating order! Reason: Lot size is too small
2018-07-24 18:59:09 (DEBUG):    syncing private data

Not sure what it means...any help or explanation would do. Smile


  Import Error
Posted by: Ruskis - 07-24-2018, 07:47 AM - Forum: Binance - Replies (1)

Hi,

Can't import historic data from binance (only), any suggestions?

Thanx!



Attached Files
.jpg   Untitle22d.jpg (Size: 193.97 KB / Downloads: 5)

  Import Error
Posted by: Ruskis - 07-24-2018, 07:44 AM - Forum: Binance - Replies (2)

Hi,

Got an issue with importing data from binance, any suggestions?

Thanx!

[Image: g0tCOo]