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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 28,496
» Latest member: b52clubmxcom
» Forum threads: 1,541
» Forum posts: 8,064

Full Statistics

Online Users
There are currently 171 online users.
» 2 Member(s) | 169 Guest(s)
jamesmartinjs12, Pharagon

Latest Threads
Gekko development status ...
Forum: Announcements
Last Post: kontho
9 hours ago
» Replies: 1,006
» Views: 931,029
Gekko with malware spotte...
Forum: Announcements
Last Post: Dstewarts
9 hours ago
» Replies: 189
» Views: 170,084
Gekko 0.6 released
Forum: Announcements
Last Post: Pharagon
11-23-2024, 10:13 AM
» Replies: 122
» Views: 269,025
An official Gekko service...
Forum: Announcements
Last Post: drivemad2
11-22-2024, 07:24 AM
» Replies: 103
» Views: 189,825
New Gekko UI in the works
Forum: Announcements
Last Post: clduplicateremover
11-18-2024, 08:21 PM
» Replies: 174
» Views: 227,678
How to Soft Reset or Hard...
Forum: General Discussion
Last Post: lucifar
10-07-2021, 07:18 PM
» Replies: 22
» Views: 53,010
How to add Binance Future...
Forum: Technical Support
Last Post: Xavier32
10-07-2021, 02:20 PM
» Replies: 47
» Views: 108,371
Bittrex Configuration hel...
Forum: Bittrex
Last Post: yirzolusto
10-07-2021, 07:39 AM
» Replies: 6
» Views: 19,115
[Question] Why does gekko...
Forum: General Discussion
Last Post: cryptocurrency0
10-06-2021, 01:16 PM
» Replies: 16
» Views: 45,825
a couple of technical Que...
Forum: Technical Support
Last Post: mtom78632
10-06-2021, 11:08 AM
» Replies: 25
» Views: 58,576

 
  Setup Gmail notification
Posted by: xFFFFF - 04-09-2018, 08:52 PM - Forum: Guides - Replies (2)

Below solution is only for Gekko CLI.
1. Create new Gmail account from security reasons.
2. Enable access for less secured apps here: https://myaccount.google.com/lesssecureapps
3. Install module emailjs

Code:
cd gekko
npm install emailjs
4. Edit Your configuration file for Gekko CLI
Code:
config.mailer = {
  enabled: true,       // Send Emails if true, false to turn off
  sendMailOnStart: true,    // Send 'Gekko starting' message if true, not if false

  email: 'newemailaccount@gmail.com',    // Your Gmail address
  muteSoft: false, // disable advice printout if it's soft

  password: 'mypassword',       // Your Gmail Password - if not supplied Gekko will prompt on startup.

  tag: '[GEKKO] ',      // Prefix all email subject lines with this

  server: 'smtp.gmail.com',   // The name of YOUR outbound (SMTP) mail server.
  smtpauth: true,     // Does SMTP server require authentication (true for Gmail)
          // The following 3 values default to the Email (above) if left blank
  user: 'newemailaccount@gmail.com',       // Your Email server user name - usually your full Email address 'me@mydomain.com'
  from: 'newemailaccount@gmail.com',       // 'me@mydomain.com'
  to: 'mymainaccount@gmail.com',       // 'me@somedomain.com, me@someotherdomain.com'
  ssl: true,        // Use SSL (true for Gmail)
  port: '465',       // Set if you don't want to use the default port
}
5. Restart Gekko.


  Buy on demand?
Posted by: docdrow - 04-09-2018, 02:26 PM - Forum: General Discussion - Replies (7)

Hi all,

  I'm wondering if Gekko has a "buy on demand" mechanism for human interaction?

  I'd like to write a simple strategy that will sell at a certain profit percentage ... but rely on a human button press for the buy.

   I'm new to these forums, please forgive me if this question has been asked or I'm posting in the wrong area.

   Thank you for your time.

PS -- Is there an IRC channel (preferably) or something similar for Gekko users?


  Running Gekko on multiple markets
Posted by: positonic - 04-09-2018, 11:22 AM - Forum: Custom Systems - Replies (4)

Options as I see it:

  1. Many Gekko process. Pros: no change to core Gekko code, cons: need some way of keeping track of running Gekkos. I have been using om2 to run multiple Gekkos and I'm not sure how to programatically keep track of running pm2 tasks and launch another if one dies. Any ideas? I would then need some way of receiving signals from the Gekkos and executing trades. Perhaps Gekko redid beacon is the answer or a db or something.
  2. Another idea I have is to have a list of markets (exchange plus coin) I want to run for and loop through, executing what we currently do for one Gekko on each, so essentially a master wrapper. From my understanding of the code this should be quite easy (oh the naevity), since I would just create many pipelines... 
Any thoughts on these ideas Mike?


  Module Child failures
Posted by: forspoons - 04-09-2018, 02:35 AM - Forum: General Discussion - No Replies

I'm a newbie, and started using Gekko today accessing data on Poloniex. 

1.  I have been able to get 2 Market Watcher Gekkos running, But I can't get any more MWs or start any Strategies.  Each time I tried, I received an error stating "Child Failure".  What can I do?

2.  I thought I was importing historical data from Poloniex.  I could see several data sets, and run Backtests.  Then all dastasets disappeared, and I can't import any more data.  What can I do?


  How to import missed candles to exists dataset?
Posted by: xFFFFF - 04-08-2018, 08:50 PM - Forum: Technical Support - No Replies

I havent candles in my db in middle of dataset period. I wrote script, which check every minute in sqlite db, and import missed candles.

Code:
perl backtest.pl -i -p kraken:XBT:DASH -f "2018-04-06 12:55:00" -t "2018-04-06 13:07:00"
Updating Gekko's kraken market data...
Done writing Kraken market data
Loging to logs/import-1523220350.log file
Import 1 pairs: kraken:XBT:DASH.
XBT:DASH is started at 22:45:51...
Processing 1 new trades. From 2018-04-06 13:01:55 UTC to 2018-04-06 13:01:55 UTC. (a few seconds)
Import of kraken XBT-DASH is done. Elapsed time: 2 seconds. 
0 from 1 pairs left.
All jobs are done. Elapsed time: 3 seconds
As You see Gekko telling that all is fine. But candles from "2018-04-06 12:55:00" to "2018-04-06 13:07:00" are still missed in sqlite file. I cant do backtest in this period because I have black hole in candles.

How to fix it?


  stoploss/takeprofit
Posted by: bitsnpcs - 04-08-2018, 07:22 PM - Forum: Strategy Development - Replies (5)

Hi there

Very new to trading and just got this up and running and I have to say its very impressive.

Initially I was hoping to use the software to make simple take profit/stop loss calls at binanace, is this possible? and if so what is the way to program the software to for example

Buy order     0.0255555 AION/ETH
Sell orders    1-10% 2-30% 3-50% 40-100%
Stop Loss     -10%

Thank you in advance I am still learning And I am sure I will use the strategies at some point but for now want to keep things simple


  Forum: Fix idiotic multi-quote view (+sample fix)
Posted by: tommiehansen - 04-08-2018, 02:13 PM - Forum: General Discussion - Replies (2)

Problem

When in discussions and users quote eachother it becomes unruly as soon as the text length and number of quotes exceed 1.
The reading experience simply degrades quite quickly and it becomes quite distracting with the 3-4 levels of quotes.

-

Quick and dirty solution

1. Add this JS in the template(s) footer somewhere (preferrably last):

Code:
var posts = $('#posts'),
    bodies = posts.find('.post_body');

bodies.each(function(){
  var $t = $(this),
  quotes = $t.find('blockquote');
  
  if( quotes.length > 1 ){
    quotes.first().append('<a href="#" class="postbit_quote bradius btn" onclick="this.parentNode.classList.toggle(\'on\');return false;"><span>Expand Quotes ('+ (quotes.length-1) +')</span></a>');
  }
})



2. Add this CSS to the template:


Code:
.post_body .mycode_quote .mycode_quote {
    display: none;
}

.post_body > blockquote { position: relative; }

.post_body .btn {
    position: absolute;
    top:55px; right:10px;
    font-size: 0.8rem;
    border-radius: 2px;
    color: #1565C0;
    border: 1px solid #42A5F5;
    padding: 5px 12px;
    _transition: none !important;
}

.post_body .btn:hover {
    background: #1E88E5;
    border-color: #1E88E5;
    color: #fff;
}

.post_body > .mycode_quote.on .btn {
    background: #FF9800;
    border-color: #FF9800;
    color: #fff;
}

.post_body > .mycode_quote.on .btn span {
   display: none;
}

.post_body > .mycode_quote.on .btn:before {
    content: 'Hide Quotes';
    display: inline-block;
}

.post_body > .mycode_quote.on .mycode_quote {
    display: block;
}


.post_body > .mycode_quote > .mycode_quote {
    margin-top: 60px;
}


Screen sample -- 'Expand Quotes (4):

[Image: z0Z7OnH.png]

-

To try this live do this in Chrome (or any other sufficient browser with dev-tools):

1. Copy-paste JS and paste+run @ console when in a thread with quotes on quotes etc..
2. Copy-paste CSS and append to cache/themes/theme3/global.min.css


Star Gekko's most wanted features
Posted by: Hilko - 04-08-2018, 11:30 AM - Forum: Feature Requests - Replies (1)

Which feature do you consider most important and should be implemented next?

If your favorite is not in the list, please name it in the comments below.


  Improved profit and loss reporting
Posted by: Hilko - 04-08-2018, 09:02 AM - Forum: Feature Requests - Replies (6)

The PnL reporting in Gekko is based on 'round trips'. This is nice because it keeps things simple, but is also limiting Gekko's capabilities. To enable more advanced strategies in Gekko that can trade parts of the balance, a more flexible PnL reporting is needed.

This thread is to continue the discussion of the suggested proposal here.

As an example of this implementation, a stand alone cli-application is available here.

What  do we want PnL reporting in Gekko to look like in the future? Please share your views here, what is the best way forward?


  Don't over-optimize
Posted by: richard - 04-06-2018, 04:14 AM - Forum: Technical Discussion - Replies (3)

Aloha,

Great tool.  Thanks for sharing.

I built a bot about ten years ago to trade futures.  It did really well backtesting.  Not so good in the real market.  Too hard to get good fills.  Best I managed to do was break even.

Your Backtesting result report is a bit optimistic (and misleading.)  You really don't want to be chasing accumulated profit.  That will surely have you matching your strategy to your historical data.  There's lots more data you probably want to include in that report, but accumulated profit will lead you astray.

Thanks!

Richard