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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 39,322
» Latest member: DishisdesignJewellery
» Forum threads: 926
» Forum posts: 6,383

Full Statistics

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

Latest Threads
An official Gekko service...
Forum: Announcements
Last Post: tanvirai
11-20-2025, 12:18 PM
» Replies: 113
» Views: 291,729
Gekko development status ...
Forum: Announcements
Last Post: erectilenovus
11-17-2025, 11:36 AM
» Replies: 753
» Views: 1,768,686
Gekko 0.6 released
Forum: Announcements
Last Post: soniyathakur
11-02-2025, 12:21 PM
» Replies: 129
» Views: 380,423
Gekko with malware spotte...
Forum: Announcements
Last Post: cofffee124
10-30-2025, 09:56 AM
» Replies: 216
» Views: 346,321
New Gekko UI in the works
Forum: Announcements
Last Post: cofffee124
09-04-2025, 08:12 AM
» Replies: 186
» Views: 390,527
How to add Binance Future...
Forum: Technical Support
Last Post: Xavier32
10-07-2021, 02:20 PM
» Replies: 47
» Views: 159,121
Bittrex Configuration hel...
Forum: Bittrex
Last Post: yirzolusto
10-07-2021, 07:39 AM
» Replies: 6
» Views: 31,836
[Question] Why does gekko...
Forum: General Discussion
Last Post: cryptocurrency0
10-06-2021, 01:16 PM
» Replies: 16
» Views: 70,993
a couple of technical Que...
Forum: Technical Support
Last Post: mtom78632
10-06-2021, 11:08 AM
» Replies: 25
» Views: 87,740
Is there any way to make ...
Forum: Custom Systems
Last Post: seorun
10-05-2021, 08:20 AM
» Replies: 42
» Views: 134,739

 
  binance update -binance.js 549 throw err
Posted by: ankasem - 03-28-2018, 05:13 PM - Forum: Binance - Replies (4)

hi
cd util/genMarketFiles

node update-binance.js
--------------------------------------------------

binance.js 549 throw err


what is this error

how to fix this error
thank you


(I tried it again properly) Huh



Attached Files
.png   binance.png (Size: 80.02 KB / Downloads: 19)

Question How to transfer historical data for trade bot with gekko (ui)
Posted by: ankasem - 03-28-2018, 03:21 AM - Forum: Automated Trading - Replies (2)

hi
I work with gekko (ui)
when I started a tradebot
does not accept the data I imported from the past
trade bot starts downloading data from the moment I start
How to add downloaded currency pair data gekko (ui)

How to transfer historical data for trade bot with[b] gekko (ui)


[/b]


thank you


  Entrie, target and stop (AT THE SAME TIME)
Posted by: Presunto - 03-27-2018, 08:55 PM - Forum: Automated Trading - Replies (5)

There is a way to use gekko to put all at the same time and go to bed? 

It can be at binance, bittrex or poloniex.com


  [Share][Plugin] Google Sheets Plugin - write all trades to a google sheet
Posted by: Gryphon - 03-27-2018, 03:55 PM - Forum: Technical Discussion - Replies (55)

I've been running CLI bots for a while and got fed up of manually entering all the trade data into a spreadsheet to track it - so I wrote a plugin to do it for me. I know I'm not the only person who was looking for an easier way to track trades... I hope (and suspect) that mikes next big gekko update will remove the need for this, but until then it should do the trick.

It enters data to a google sheet via a POST request to a google form. There is a bit of setup involved, all described in the github readme... Let me know if you have any issues!

You set up one google form and google sheet for all your bots. The google script automatically creates a new sheet for each pair/exchange combination it receives trades from and keeps it updated with each trade. 

The output should looks something like this:
[Image: U2K3QPn.png]
(That strat had a good few days - it also had a large drawdown in the last weeks so it's not as good as it looks there!)

If you want to give it a shot: https://github.com/RJPGriffin/google-forms-gekko-plugin

The config object in your CLI config should look like this (but with your form and question ID's)
[Image: JLXzKRQ.png]


I posted a link to an earlier version in a thread yesterday - It's been updated since then, looks far prettier now!


  custom basic strategy
Posted by: chrisz - 03-26-2018, 06:21 PM - Forum: Automated Trading - Replies (1)

i found that gekko trade bot is really useful to everyone but due to i am totally new so need some help and hoping that someone could teach or guide me.
i just need a simple and basic strategy to auto trade every time when fall in range specify, such as:

example:
buy/bid price: <7800
sell/ask price: by percentage

thank you very much and is highly appreciated.


  Improve killGekko() behaviour
Posted by: tommiehansen - 03-26-2018, 01:13 PM - Forum: Technical Discussion - Replies (2)

One of the problems i personally got (and maybe other 3rd party tools) is that killGekko() currently requires ID's. One can understand why one would create it like so but it's makes it much harder to e.g. kill all running backtests or all running imports.

This is not a problem for when e.g. running small backtests taking 5-15 seconds, but imagine multithreading runs that on average take 5-30 minutes to complete...

The only way to "fix" wanting to stop e.g. 3x of such runs is to force kill the entire Gekko service which is less then ideal since it isn't certain that the user actually got access to the terminal (could be using Gekko instance as a remote service etc).

Wishlist

1. Add categories to killGekko so that it accepts e.g. 'backtest' or 'import' and not only specific ID's.
2. Any categorical "kill" event simply kills all running X within a category e.g. killGekko({ category: 'backtest' }) would kill all running backtests.
3. Major kill-switch; killGekko({ category: 'all' })


  [gekko 0.6] API change for running a backtest
Posted by: askmike - 03-26-2018, 07:14 AM - Forum: Technical Discussion - Replies (20)

I am currently doing a major rewrite of the event system within the codebase. There are a few reasons for doing so: it allows for new features like advanced order types, a faster backtester, better event streamline and a lot more. I currently have an early version of a new backtester, you can find it in the PR for 0.6:

https://github.com/askmike/gekko/pull/1850

Since this commit the API endpoint has changed for doing a backtest. Instead of passing a data object that defines what data you want you now need to add a new plugin to the config called the "backtestResultExporter", in here you can specify what data you want to be returned. See here what the UI is passing. You can also specify indicator results! Native indicator results are available, async ones are coming asap.

On top of that, this is what I am planning to do:

- We can actually optimize a lot of things if we know the backtest doesn't need to return any candles / indicator numbers / trades, not just on at the end before we send out the result over the REST API, but even inside the gekko stream.
- We can drastically increase performance of async indicators by pregenerating all their outputs in batches. This means we don't have to ask TA-lib every candle, but just once every X candles (as much as we can store in memory).

If anyone has more ideas please throw them here since I am changing it right now anyway Smile


  2% Sell Price
Posted by: Kris191 - 03-25-2018, 06:35 PM - Forum: Strategy Development - No Replies

Hi all,

Notice - I have no programming skills whats so ever!!!

I wanted to discuss the viability of the below startegy and if this is something that can be created for Gekko.

Could a simple process be built to buy when the price is 2-3% below the 50 day SMA or EMA or DEMA (dealers choice) and auto sell when it gains 3% on the original bought price? It would require a trailing stoploss so to be triggered at 1.5% gain to avoid missing out on a bull run. but then have it automatically sell when the price drops below 2% of the new buy price or the new moving average?

does this make sense and could it work?

thanks


  Lowering tickrate
Posted by: i00ney - 03-25-2018, 12:40 PM - Forum: Technical Discussion - Replies (2)

Just curious, is there any benefit to lower the tickrate for example when using Binance?
Currently it is using the default of 20 seconds, but does it somehow have a positive effect to lower it to 10 or even 5 seconds?


  Current Price, Last Buy Price, and Multiple Timeline Strategy Questions
Posted by: CmvrkDunn - 03-24-2018, 05:18 PM - Forum: Strategy Development - Replies (3)

Backtesting

Using the ui version of gekko, has their been any complaints of the backtesting total percentage being inaccurate?

For extensive and in depth backtesting, is there significant advantages using MongoDB vs SQLite? If not, are there instructions / discussions on how to interface with the SQLite database directly? If so, are there instructions on how to switch data storing to MongoDB and how to interact with the database directly?

Overlapping question: Does gekko have the ability in backtesting (or live and paper trading for that matter) to export trade summaries to an Excel or text file? Kind of like the backtesting summary but with more information such as buy in price, sell price as well? If so, is it possible to customize the data fields exported?

Is there any possibility of backtesting or ui live gekko displaying a tradingview.com chart? It would be so helpful to look at in depth detail of each trade afterwards to see what improvement in the strategy is possible or to find common trends.

Strategy
Does gekko have the ability to short if an exchange allows it? Using gekko on Bitfinex for example?

In sample strategies, I see references to this.settings. Where is this referring to? I recognize that this.config is referencing variables in the strategies toml file but didn't find a similar file for this.settings. Is this.settings referring to the timeframe and required history from gekko's ui? Does it refer to variables in your strat.init?

Has there been any discussions about strategies that recognize and act on patterns like an equilibrium, bull or bear flag, or inside bars?

In your response, you referenced trade.price as a property that holds average last buy price. Can you give a brief snippet of trade.price usage in a strategy (how do you call it, I imagine by assigning it to a variable in the update function of your strategy)?

Is there any perceivable way to change variables in your method while a live gekko is running (that the live gekko would then start acting on)? For example, in the case of having a general strategy but you manually place a buy at an opportune point, from the ui you could update your boughtin variable to true along with the buy in price and let the bot handle selling. This would help not having to stop and start the strategy over in this situation or risk having the bots buying and selling out of sync with the actual buy / sell situation on the exchange.

Assuming a strategy is using one minute candles, using counters to delay indicator result calculation, I edited the RSI and MACD indicators to each give multiple timeframe results to be used in the same strategy (calculations tested successfully). I did this to achieve quickest price reaction gekko allows as well as providing more strategy conditions to use. Can you think of any consequences of this? I'm sure there is a more elegant design approach than I took (willing to send you the files), and I'd love to hear if any come to mind and your thoughts on this. Ultimately I think this would be terrific if it could be integrated into the ui though I know it would require some major front end design changes.

Again, thank you, thank you, thank you for your time and helpful responses. They are beyond appreciated!!