Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 282 online users. » 0 Member(s) | 282 Guest(s)
|
Latest Threads |
Gekko 0.6 released
Forum: Announcements
Last Post: lsm99dna
08-06-2025, 08:15 PM
» Replies: 124
» Views: 334,062
|
An official Gekko service...
Forum: Announcements
Last Post: Ruslanjoshua
07-24-2025, 06:27 AM
» Replies: 111
» Views: 248,275
|
New Gekko UI in the works
Forum: Announcements
Last Post: celemtine
07-03-2025, 07:24 AM
» Replies: 185
» Views: 326,140
|
Gekko with malware spotte...
Forum: Announcements
Last Post: pugoing
07-01-2025, 02:29 AM
» Replies: 212
» Views: 277,716
|
Gekko development status ...
Forum: Announcements
Last Post: sanmarconns
10-21-2024, 06:34 PM
» Replies: 744
» Views: 1,482,251
|
How to add Binance Future...
Forum: Technical Support
Last Post: Xavier32
10-07-2021, 02:20 PM
» Replies: 47
» Views: 134,647
|
Bittrex Configuration hel...
Forum: Bittrex
Last Post: yirzolusto
10-07-2021, 07:39 AM
» Replies: 6
» Views: 23,028
|
[Question] Why does gekko...
Forum: General Discussion
Last Post: cryptocurrency0
10-06-2021, 01:16 PM
» Replies: 16
» Views: 57,452
|
a couple of technical Que...
Forum: Technical Support
Last Post: mtom78632
10-06-2021, 11:08 AM
» Replies: 25
» Views: 72,134
|
crex24
Forum: Other exchanges
Last Post: marketingseo
10-05-2021, 09:47 AM
» Replies: 216
» Views: 515,466
|
|
|
Backtesting crash |
Posted by: Valleyman - 01-19-2018, 01:15 PM - Forum: Technical Support
- Replies (9)
|
 |
Hello,
When backtesting in the UI it sometimes occurs that it finishes without displaying results but when I look at the CLI the test is clearly still running.
This used to happen mainly when working with very short candles (1-2-5 minutes) but it's been happening more recently.
Can somebody give me some pointers on how to examine this further?
PS: Thanks for the effort Mike!
Cheers!
|
|
|
Having problems installing Gekko |
Posted by: z82 - 01-18-2018, 06:16 PM - Forum: Technical Support
- Replies (3)
|
 |
Hi,
I'm a new user and not very good with Linux. I cannot get Gekko to run properly and receive an error when I try to run it:
/home/john/gekko/core/error.js:3
let RetryError = function(message) {
^^^
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:374:25)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/home/john/gekko/core/util.js:8:14)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
Here are my system details:
64bit OS
16.04 LTS Ubuntu
Intel Core I5
My objective is to run it on a laptop and interact with it via my browser.
I tried following the instructions yesterday here:
https://gekko.wizb.it/docs/installation/...gekko.html
It was late at night and I might have installed nodejs after installing Gekko. Will Gekko configure properly if nodejs is not present at install? If Gekko is not configured properly, how do I start over?
I also tried installing Gekko using Docker and no luck there either. Since I couldn't get it to do anything, I uninstalled Docker.
|
|
|
Try to understand how trend work |
Posted by: joyNstay - 01-18-2018, 12:26 PM - Forum: Strategy Development
- Replies (2)
|
 |
Hello, I am trying to understand CCI strategy and I have some questions that I cannot answer.
In every strategy there is this code
Code: this.trend = {
direction: 'undefined',
duration: 0,
persisted: false,
adviced: false
};
My problem is that I cannot be sure what persisted and advice do exactly.
Can anyone help me?
|
|
|
Got my gekko running live papertrades but doesn't want to start actual bot.. binance |
Posted by: kenny1309 - 01-18-2018, 10:51 AM - Forum: Technical Support
- Replies (1)
|
 |
hey guys,
i got my gekko installed on my pi, all working well (import date, live runners,...)
only isseu is that i can't start a trading bot... i can papertrade without isseu...
i'd like to set the but on BTC - XVG (i do have xvg on my binance but low on btc might this be the isseu?)
I did set my api keys for binance, but i hit an error:
Gekko 166573169671184 started
--> POST /api/startGekko 200 39ms 369b
RECEIVED ERROR IN GEKKO 166573169671184
Gekko encountered an error and can't continue
Gekko encountered an error and can't continue
Error:
[binance.js] Response code 400
Meta debug info:
Gekko version: v0.5.12
Nodejs version: v6.12.3
|
|
|
VWP (Volume Weighted Price) |
Posted by: bpc555 - 01-18-2018, 07:13 AM - Forum: General Discussion
- Replies (2)
|
 |
I would like to know how BudFox is calculating VWP.
The Documentation for BudFox states that its output is JSON objects such as:
Code: {"start":"2015-02-02T23:08:00.000Z","open":238.21,"high":239.35,"low":238.21,"close":238.66,"vwp":8743.778447997309,"volume":203.6969347,"trades":56}
where I assume "vwp" is Volume Weighted Price. However, it seems to me that the actual values of VWP disagrees with other data (specifically price and volume) from that same record of trades.
Given that
![[Image: vwap.gif]](https://i.investopedia.com/inv/dictionary/terms/vwap.gif)
I presume then that VWP = VWAP * Total Share Bought = VWAP * Total Volume.
So, from the data from the sample record above, VMP = 8743.79 and volume = 203.70 which implies VWAP = 8743.79/203.70 = 42.92
But 42.92 is outside the high..low for that trading period (239.35 .. 238.21).
What am I missing?
Thanks in advance,
Brenton
BTW. I checked the code [gekko/core/budfox/candleCreator.js: 149 and 152] and it does appear to be creating a VWAP correctly. Perhaps the data is bad in the example?
|
|
|
Strategy - GA |
Posted by: aleep - 01-18-2018, 03:26 AM - Forum: Technical Support
- Replies (1)
|
 |
Hello, fist , I am sorry for my bad English and second Gekko is the best!!!
I am working in a strategy, who use HMA and it use Tulip. Its run in backtest OK, with this config
Strategy
Code: this.addTulipIndicator('hull1', 'hma', this.settings.hull1);
this.addTulipIndicator('hull2', 'hma', this.settings.hull2);
In gekko\config\strategies
Code: [hull1]
optInTimePeriod = 7
[hull2]
optInTimePeriod = 14
And in sample-config
Code: hull1 : { optInTimePeriod: 7 },
hull2 : { optInTimePeriod: 14 },
Now i Am traing to use this excelente idea (http://gekkowarez.com/gekko-genetic-algorithm/)
But it dosent work!! I have this error in command
Quote:Gekko was unable to configure Tulip Indicators:
hma requires optInTimePeriod.
xxx POST /api/backtest 500 909ms -
My Porblem (i Think) is in the file your.new.js
i tried with everythings, but I don't how I need to put the variables, I try whit this for example
Code: hull1.optInTimePeriod: randomExt.integer(15,5),
it is not working.
can you help me?????
|
|
|
Backtesting CommandLines vs UI |
Posted by: aorfevrebr - 01-15-2018, 06:10 PM - Forum: General Discussion
- Replies (1)
|
 |
Hi,
I'm new to Gekko universe, and I'm facing a strange issue.
I've different results from Gekko backtesting from Command Line and UI.
First all; here is my config file :
Code: config.watch = {
// see https://gekko.wizb.it/docs/introduction/supported_exchanges.html
exchange: 'binance',
currency: 'BTC',
asset: 'BNB',
// You can set your own tickrate (refresh rate).
// If you don't set it, the defaults are 2 sec for
// okcoin and 20 sec for all other exchanges.
// tickrate: 20
}
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// CONFIGURING TRADING ADVICE
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
config.tradingAdvisor = {
enabled: true,
method: 'RSI',
candleSize: 1,
historySize: 3,
adapter: 'sqlite'
}
As you can see; I launch it for BTC/BNB datas with strategy called RSI
Command line results gives the following :
Code: 2018-01-15 14:51:18 (INFO): (PROFIT REPORT) [b]start time: 2017-10-14 21:37:00[/b]
2018-01-15 14:51:18 (INFO): (PROFIT REPORT) [b]end time: 2018-01-14 23:51:00[/b]
2018-01-15 14:51:18 (INFO): (PROFIT REPORT) timespan: 3 months
2018-01-15 14:51:18 (INFO): (PROFIT REPORT) sharpe ratio: -1.7844406222677447
2018-01-15 14:51:18 (INFO):
2018-01-15 14:51:18 (INFO): (PROFIT REPORT) start price: 0.00025811 BTC
2018-01-15 14:51:18 (INFO): (PROFIT REPORT) end price: 0.0015217 BTC
2018-01-15 14:51:18 (INFO): (PROFIT REPORT) Market: 489.55484096%
2018-01-15 14:51:18 (INFO):
2018-01-15 14:51:18 (INFO): (PROFIT REPORT) [b]amount of trades: 969[/b]
2018-01-15 14:51:18 (INFO): (PROFIT REPORT) original simulated balance: 100.00025811 BTC
2018-01-15 14:51:18 (INFO): (PROFIT REPORT) current simulated balance: 242.08398316 BTC
2018-01-15 14:51:18 (INFO): (PROFIT REPORT) simulated profit: 142.08372505 BTC (142.08335832%)
2018-01-15 14:51:18 (INFO): (PROFIT REPORT) simulated yearly profit: 563.50627779 BTC (563.50482332%)
On the other hand; when I launch Backtest with RSI strategy on BTC/BNB (binance) on UI; I have the following result :
https://imagebin.ca/v/3oJAHpXgOLB8
This is confusing as number of trades and profit is very different.
Anyone has an idea on the issue ?
|
|
|
|