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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 28,574
» Latest member: AlphaQuickFind
» Forum threads: 1,541
» Forum posts: 8,071

Full Statistics

Online Users
There are currently 310 online users.
» 1 Member(s) | 309 Guest(s)
AlphaQuickFind

Latest Threads
Gekko development status ...
Forum: Announcements
Last Post: kontho
4 hours ago
» Replies: 1,010
» Views: 936,575
Gekko with malware spotte...
Forum: Announcements
Last Post: adeldoors
10 hours ago
» Replies: 192
» Views: 170,594
Gekko 0.6 released
Forum: Announcements
Last Post: Pharagon
11-23-2024, 10:13 AM
» Replies: 122
» Views: 269,427
An official Gekko service...
Forum: Announcements
Last Post: drivemad2
11-22-2024, 07:24 AM
» Replies: 103
» Views: 190,459
New Gekko UI in the works
Forum: Announcements
Last Post: clduplicateremover
11-18-2024, 08:21 PM
» Replies: 174
» Views: 228,062
How to Soft Reset or Hard...
Forum: General Discussion
Last Post: lucifar
10-07-2021, 07:18 PM
» Replies: 22
» Views: 53,061
How to add Binance Future...
Forum: Technical Support
Last Post: Xavier32
10-07-2021, 02:20 PM
» Replies: 47
» Views: 108,474
Bittrex Configuration hel...
Forum: Bittrex
Last Post: yirzolusto
10-07-2021, 07:39 AM
» Replies: 6
» Views: 19,133
[Question] Why does gekko...
Forum: General Discussion
Last Post: cryptocurrency0
10-06-2021, 01:16 PM
» Replies: 16
» Views: 45,853
a couple of technical Que...
Forum: Technical Support
Last Post: mtom78632
10-06-2021, 11:08 AM
» Replies: 25
» Views: 58,613

 
  Something is not right in the dates
Posted by: PrimalFury - 09-23-2018, 12:12 PM - Forum: Technical Discussion - Replies (1)

Hi I have some backtesting on BTCUSDT.

The paper trader said it bought something:

2018-09-23 13:57:05 (INFO):     2018-09-08 01:00:00: Paper trader simulated a BUY       0.00000000 USDT => 1.01957343 BTC
2018-09-23 13:57:05 (INFO):     2018-09-08 05:00:00: Paper trader simulated a SELL      6560.45923407 USDT <= 0.00000000 BTC
2018-09-23 13:57:05 (INFO):     2018-09-08 15:00:00: Paper trader simulated a BUY       0.00000000 USDT => 1.02236641 BTC
2018-09-23 13:57:05 (INFO):     2018-09-09 12:00:00: Paper trader simulated a SELL      6515.68010630 USDT <= 0.00000000 BTC


If i look back on the charts, BTC never was in the 6500 range that day (8th)

So the backtest results are totally useless now.

Anyone knows what im doing wrong ?


  Help with creating a strategy
Posted by: PrimalFury - 09-22-2018, 03:35 PM - Forum: Strategy Development - No Replies

Hi guys, I have a nice working strategy which i want to share and be able to backtest in gekko, but it dont know how to create it. i will explain it here and Ill hope some one can create the strategy and use it for himself as well! All based on the 5 minute candles.

Buy when:
- Bollinger Bands: the open or close of the last complete candle must be below the lower  Bollinger Band. 
- Bollinger Bands: the higher Bollinger Band must be 1,75% higher than the lower Bollinger Band, so a spread of 1.75% between the lower and upper band
- Stochastic Oscillator: The %K and %D must be BOTH below 20% or lower
- RSI: Must be below 25
- Volume: In the last 14 candles there may be a max of 4 candles with zero volume. 
- Volume: For BTC 750btc

Sell when:
Price increased 0.60 Percent from buy price.


Optional:
Rebuying with double amount of first buy-in when price drops 1.75% below first buy-in
Rebuying with double amount of second buy-in when price drops 1.75% below second buy-in
Adding a trailing profit
Adding a stoploss


  TA-lib indicators & Tulip indicators
Posted by: Ytigiev - 09-21-2018, 09:30 AM - Forum: Technical Support - Replies (2)

Hello, 

In the folder strategies/indicators  I see the following files: 
CCI.js
EMA.js
MACD.js
RSI.js
SMMS.js
LRC.js
PPO.js
SMA.js
TSI.js

Will "Talib & Tulip" installation add additional files in the folder strategies/indicators? If yes which files?


  Doesn't work standart strategies.
Posted by: Ytigiev - 09-21-2018, 06:39 AM - Forum: Technical Support - Replies (3)

Hello, 

I have an issue with using strategies. Some strategies work properly, some doesn't work. 
I think the root of the cause is incompatibility some of the version modules> I installed many times gekko with the various configuration on ubuntu and sometimes strategies had worked and sometimes didn't.

For example doesn't work tulip_adx.  tulip_macd 

Who can write the exact version of ubuntu, gekko, nodejs, npm, tulip, talib, etc modules/soft which are with default strategies of the gekko?

ytigiev@ytigiev-VirtualBox:~/gekko$ node gekko --ui

    ______   ________  __    __  __    __   ______
   /      \ /        |/  |  /  |/  |  /  | /      \
  /$$$$$$  |$$$$$$$$/ $$ | /$$/ $$ | /$$/ /$$$$$$  |
  $$ | _$$/ $$ |__    $$ |/$$/  $$ |/$$/  $$ |  $$ |
  $$ |/    |$$    |   $$  $$<   $$  $$<   $$ |  $$ |
  $$ |$$$$ |$$$$$/    $$$$$  \  $$$$$  \  $$ |  $$ |
  $$ \__$$ |$$ |_____ $$ |$$  \ $$ |$$  \ $$ \__$$ |
  $$    $$/ $$       |$$ | $$  |$$ | $$  |$$    $$/ 
   $$$$$$/  $$$$$$$$/ $$/   $$/ $$/   $$/  $$$$$$/

Gekko v0.6.6
I'm gonna make you rich, Bud Fox. 


Serving Gekko UI on http://localhost:3000/

  <-- GET /api/imports
  --> GET /api/imports 200 2ms 2b
  <-- GET /api/gekkos
  --> GET /api/gekkos 200 1ms 24b
  <-- GET /api/apiKeys
  --> GET /api/apiKeys 200 1ms 2b
  <-- GET /api/exchanges
  --> GET /api/exchanges 200 376ms 87.76kb
  <-- GET /api/configPart/performanceAnalyzer
  --> GET /api/configPart/performanceAnalyzer 200 1ms 144b
  <-- GET /api/strategies
  <-- GET /api/configPart/paperTrader
  --> GET /api/configPart/paperTrader 200 1ms 132b
  --> GET /api/strategies 200 16ms 15.34kb
  <-- POST /api/scansets
  --> POST /api/scansets 200 316ms 129b
  <-- POST /api/backtest
  --> POST /api/backtest 200 2,250ms 33.71kb
  <-- POST /api/backtest
  xxx POST /api/backtest 500 302ms -

  Error: non-error thrown: 
  This Gekko instance encountered an error and can't continue
      at Object.onerror (/home/ytigiev/gekko/node_modules/koa/lib/context.js:105:40)
      at <anonymous>
      at process._tickCallback (internal/process/next_tick.js:189:7)

  <-- POST /api/backtest
  xxx POST /api/backtest 500 316ms -

  Error: non-error thrown: 
  This Gekko instance encountered an error and can't continue
      at Object.onerror (/home/ytigiev/gekko/node_modules/koa/lib/context.js:105:40)
      at <anonymous>
      at process._tickCallback (internal/process/next_tick.js:189:7)


  Backtest & CandleSize:WarmupPeriod format
Posted by: Ytigiev - 09-20-2018, 04:21 PM - Forum: Third Party Software - Replies (2)

Hello, 

I have a few questions regarding parameters CandleSize and warmup 

1)  Is it CandleSize defined in minutes?
2) How to calculate WarmupPeriod?   WarmupPeriod = CandleSize*NumbersOfCandels was using for calculating each of iteration? Measurement is minutes? 

Code:
# BUG - USE ONE CANDLE VALUE TEMPORARY! Put your candle values between brackets in line below. Use CandleSize:WarmupPeriod format. Seperate pair using space or newline.
@warmup = qw(
10:73
);


  Slippage doesn't work in backtest
Posted by: Greg L. - 09-20-2018, 06:36 AM - Forum: Technical Support - Replies (1)

Hello,

I've performed some backtests with the NNv2 strategy before going live. My live results weren't good live so I tried to simulate the live results in backtest using the slippage parameter, but I've just figured out it doesn't work : I can put any value, it doesn't change anything to the results.

Is there any bug or is there any misunderstanding about how the slippage parameter work ?


  First Start Error module.js:550
Posted by: Bransonb3 - 09-18-2018, 03:41 PM - Forum: Technical Support - Replies (9)

I got this error after following the installation steps. I am running this on CentOS 7 and NodeJS v8.12.0. I have tried to completely delete gekko and try again and I got the same error.
Just tried to install on Windows Server 2016 with NodeJS v8.12.0 and I got the same error.


module.js:550
    throw err;
    ^

Error: Cannot find module '/root/gekko/exchange/gekko'
    at Function.Module._resolveFilename (module.js:548:15)
    at Function.Module._load (module.js:475:25)
    at Function.Module.runMain (module.js:694:10)
    at startup (bootstrap_node.js:204:16)
    at bootstrap_node.js:625:3


  Paper Trading WarmUp period data
Posted by: CryptoCoeus - 09-18-2018, 08:05 AM - Forum: Strategy Development - Replies (7)

Guys, why papertrader does not download 'required warm up data' from the exchange and calculate parameters  on them. Is this possible ? Who can enlighten me Big Grin


  Gekko not installing correct
Posted by: Jollybv - 09-18-2018, 05:53 AM - Forum: Technical Discussion - Replies (4)

Hi There

I have been trying to install gekko but with no luck i get the following 

added 244 packages from 907 contributors and audited 520 packages in 18.398s
found 1 low severity vulnerability
  run `npm audit fix` to fix them, or `npm audit` for details

PS C:\Users\Brian\Downloads\gekko-develop\gekko-develop> npm audit fix
up to date in 1.531s
fixed 0 of 1 vulnerability in 520 scanned packages
  1 package update for 1 vuln involved breaking changes
  (use `npm audit fix --force` to install breaking changes; or refer to `npm audit` for steps to fix these manually)
PS C:\Users\Brian\Downloads\gekko-develop\gekko-develop> npm audit fix --force
npm WARN using --force I sure hope you know what you are doing.
+ lodash@4.17.11
updated 1 package in 2.395s
fixed 1 of 1 vulnerability in 520 scanned packages
  1 package update for 1 vuln involved breaking changes
  (installed due to `--force` option)
PS C:\Users\Brian\Downloads\gekko-develop\gekko-develop> node gekko --ui

    ______   ________  __    __  __    __   ______
   /      \ /        |/  |  /  |/  |  /  | /      \
  /$$$$$$  |$$$$$$$$/ $$ | /$$/ $$ | /$$/ /$$$$$$  |
  $$ | _$$/ $$ |__    $$ |/$$/  $$ |/$$/  $$ |  $$ |
  $$ |/    |$$    |   $$  $$<   $$  $$<   $$ |  $$ |
  $$ |$$$$ |$$$$$/    $$$$$  \  $$$$$  \  $$ |  $$ |
  $$ \__$$ |$$ |_____ $$ |$$  \ $$ |$$  \ $$ \__$$ |
  $$    $$/ $$       |$$ | $$  |$$ | $$  |$$    $$/
   $$$$$$/  $$$$$$$$/ $$/   $$/ $$/   $$/  $$$$$$/

        Gekko v0.6.6
        I'm gonna make you rich, Bud Fox.


Serving Gekko UI on http://localhost:3000/

  <-- GET /api/imports
  --> GET /api/imports 200 0ms 2b
  <-- GET /api/gekkos
  --> GET /api/gekkos 200 0ms 24b
  <-- GET /api/apiKeys
  --> GET /api/apiKeys 200 0ms 2b
  <-- GET /api/exchanges
  xxx GET /api/exchanges 500 0ms -

  TypeError: _.last(...).join is not a function
      at exchangesDir.filter.f (C:\Users\Brian\Downloads\gekko-develop\gekko-develop\web\routes\exchanges.js:17:31)
      at Array.filter (<anonymous>)
      at Object.module.exports (C:\Users\Brian\Downloads\gekko-develop\gekko-develop\web\routes\exchanges.js:17:6)
      at module.exports.next (<anonymous>)
      at Object.dispatch (C:\Users\Brian\Downloads\gekko-develop\gekko-develop\node_modules\koa-router\lib\router.js:334:5)
      at dispatch.next (<anonymous>)
      at onFulfilled (C:\Users\Brian\Downloads\gekko-develop\gekko-develop\node_modules\co\index.js:65:19)
      at <anonymous>

when i run node gekko --ui it goes to the web page but if i go to local data and go to imports there is no currency, no exchanges, and no assets.


Is there a way to resolve this issue


  [TUT] Importing market data from the CLI
Posted by: askmike - 09-18-2018, 02:54 AM - Forum: Guides - No Replies

[I might move this guide into the docs one day]

If you are experiencing issues importing data via the interface, you can do so via the commandline to get more debug information needed to troubleshoot your problem.

Step 1: create a config file

Copy gekko/sample-config.js into gekko/config.js

Step 2: configure your config

Open up the gekko/config.js file with a text editor (sublime is excellent, free and runs on all major OSes).

- Search for "config.watch" and replace exchange, currency and asset with the market you want to import from.
- [OPTIONAL] Search for "config.importer" and replace the from date with a more recent date (for example a month ago).

Step 3: run the import

- Open a terminal and navigate to the Gekko directory.
- Run the import by typing: node gekko -c config.js -i