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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 5,124
» Latest member: victus_sanctus
» Forum threads: 875
» Forum posts: 4,239

Full Statistics

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

Latest Threads
VmaPredict2.js (new)
Forum: Strategy Development
Last Post: PGTART
01-15-2020, 12:04 PM
» Replies: 70
» Views: 13,273
Daily Forex News
Forum: General Discussion
Last Post: xtreamforex
01-15-2020, 11:29 AM
» Replies: 34
» Views: 7,224
Cuora Mccordi,Aurocapitat...
Forum: General Discussion
Last Post: reptilefarm01
01-15-2020, 03:14 AM
» Replies: 0
» Views: 47
Cuora Mccordi,Aurocapitat...
Forum: General Discussion
Last Post: reptilefarm01
01-15-2020, 03:07 AM
» Replies: 0
» Views: 64
Problem installing Gekko
Forum: Technical Support
Last Post: garfield25
01-10-2020, 01:52 PM
» Replies: 0
» Views: 108
Looking for pair programm...
Forum: General Discussion
Last Post: sirbroseiden
01-08-2020, 05:06 PM
» Replies: 2
» Views: 341
Problems with coinfalcon
Forum: Other exchanges
Last Post: Magnavox
01-07-2020, 07:32 PM
» Replies: 4
» Views: 3,186
Amazon Web Server and Gek...
Forum: Guides
Last Post: TCMabe
01-06-2020, 10:26 PM
» Replies: 17
» Views: 13,103
Is bitpanda supported?
Forum: General Discussion
Last Post: PGTART
12-31-2019, 03:43 PM
» Replies: 0
» Views: 105
error exchange
Forum: Technical Discussion
Last Post: dakasti
12-29-2019, 09:38 PM
» Replies: 0
» Views: 161

 
Question Lost Password
Posted by: Previn - 10-18-2019, 11:27 AM - Forum: General Discussion - No Replies

I lost the password to Gekko installed on a virtual server, where do I find the config file so I can see the password? Huh


  Common trading mistakes: part two
Posted by: freeforex20 - 10-17-2019, 11:13 PM - Forum: General Discussion - No Replies

Common trading mistakes: part two

Overreliance on software
Most people use some form of technology to assist their trading.
 
For example, you might study chart patterns or use automated alerts and algorithms as prompts to trade.
 
But, as useful as all of these tools are, it is important to remember that they are only tools, and must be employed wisely.
 
Just as your satnav can occasionally direct you to drive into a deep torrent of water because it doesn't know the river has flooded, trading technology isn't something to follow blindly. You still need to keep your eyes open and react intelligently to the signs you see.
 
Car
So when using technology, such as charting software or other analysis tools, it's important that you understand the underlying concepts and the reasons behind what the charts are telling you. This will allow you to see the bigger picture and avoid unnecessary mistakes.
 
Lack of record keeping
Do you remember your first trade? What about the third, or the fifth?
 
If you're new to trading, the details may still be clear in your memory. But in a few months' time will you still be able to describe each step and decision in detail?
 
Unless you keep a trading log or diary, the chances are that this information will be lost. And if you can't remember what you did right, how can you replicate it? Similarly, if you don't know where you went wrong you could easily make the same mistakes again.
 
Your trading diary will let you look back at your experiences with the value of hindsight and learn from them. So what should you record in it?
 
Question
Which of the following is NOT worth putting in your trading diary?
A
Why you decided to trade
B
What you were wearing at the time
C
Where you placed your stops or limits
D
How you felt at the time you opened and closed the trade
 
Reveal answer
Bad timing
Timing is not only the art of good comedy - it's also central to good trading.
 
In the same way that a stand-up artist needs to deliver the punchline at exactly the right moment, you need to time your entry and exit from a market perfectly to maximise any profit or minimise any loss.
 
Timing mistakes are common among new traders. So how can you avoid them? Although getting your timing right isn't an exact science, there are a few tools that will help you to act at the right moment:
 
Chart analysis will help you forecast potential scenarios by revealing market patterns
A trading plan will help you to define your strategy, meaning you're more likely to avoid impulsive actions
Stops and limits will allow you to go about your business without having to monitor the markets constantly
summary
Remember the limitations of software and use it intelligently
Keep a trading diary and reflect on the strategies that have worked well (or not so well)
Use tools such as charts, stops and limits to help you get your timing right when opening and closing positions


  Realtime debug
Posted by: aixbr - 10-08-2019, 10:04 PM - Forum: General Discussion - Replies (2)

Hi, 


I have a simple strategy that is :

strat.init = function() {
        this.addTulipIndicator('ema10','ema',{
                optInTimePeriod:10
        });
        this.addTulipIndicator('ema21','ema',{
                optInTimePeriod:21
        });

}

strat.check = function(candle) {

        const ema10 = this.tulipIndicators.ema10.result.result;
        const ema21 = this.tulipIndicators.ema21.result.result;

        if(ema10>ema21){
                console.log("buy);
        } else {
                console.log("sell");
        }


that is work good in a backtest enviroment.

I already changed the line below in config.js :

config['I understand that Gekko only automates MY OWN trading strategies'] = true

and i am running with this command line :

node gekko --config config.js

but nothing is printed in console when the condition goes true or not.

How can i put it to run in realtime mode !?


  My own neural network
Posted by: lenny2 - 10-04-2019, 10:39 AM - Forum: Strategy Development - Replies (6)

Hi
I wanted to build a strategy that could learn how to adjust. 
Parameters: ADA, 3 months with 60min candles
My first step was to test tried and tested indicators. I started with Tulip, ema.
Attachment: using indicators shows market -37% but strategy did 16%

Next step was to normalize inputs. NN doesn't like 0.00000567. So I normalized to 5.67. I also made sure that all inputs were of the same power(Math) so that no input would overwhelm the algorithm.
I used a feed forward neural network with backpropagation with several hidden layers.
For training, Backtest saved a json file with the results, then it takes the roundtrip data, sees profit % (- or +) and generates training data. This way I have automated the training cycle.
Same parameters with the NN is attachment using NN.
result is 26%

This was just an early test. Going to try add/remove inputs.
I couple of things I've seen. Overfitting the neural network is definitely an issue here. If I feed it too much data, results aren't as good, plus it will behave poorly on other assets. Current version behaves ok when switching assets, but I have seen that is better to train the neural network for each asset as they have distinct behaviours.



Attached Files
.png   using indicatores and candle size.png (Size: 264.55 KB / Downloads: 47)
.png   using NN.png (Size: 271.75 KB / Downloads: 34)

  How to stop and then re-run a strategy without re-warming up
Posted by: Alex.P - 10-02-2019, 09:43 AM - Forum: Strategy Development - Replies (2)

if I have stoped a strategy and then I have to re-run again why do I have to warm it up again?


  Placing manual orders?
Posted by: Thluks - 10-01-2019, 08:29 AM - Forum: General Discussion - Replies (1)

Does Gekko currently support placing manual orders (stop buy, stop sell, limit, etc.) that it will then monitor and execute as soon as the conditions are met?


  Please give me a clue what does the strategy do?
Posted by: Alex.P - 09-30-2019, 03:01 PM - Forum: Strategy Development - Replies (2)

Hi Gekko users

Please help me understand what does this strategy do? What is SMA_long = 1000? SMA_short = 50? etc..


SMA_long = 1000
SMA_short = 50

# SMA Trends
SMA_long = 1000
SMA_short = 50

# BULL
BULL_RSI = 10
BULL_RSI_high = 80
BULL_RSI_low = 60

# BEAR
BEAR_RSI = 15
BEAR_RSI_high = 50
BEAR_RSI_low = 20

# BULL/BEAR is defined by the longer SMA trends
# if SHORT over LONG = BULL
# if SHORT under LONG = BEAR



Thank you for help


  Can I use more than one stradegy in one Gekko?
Posted by: lutianzhou001 - 09-29-2019, 02:03 AM - Forum: Feature Requests - No Replies

In the real market there will be more than one stradegy combined. Can I choose more than one stradegy and backtest them and use them into one Gekko in the real market ? For example I will combine MACD and RSI ,which means both MACD and RSI give the signal to buy, I will buy , or , I won't buy.


  Unable to install talib
Posted by: mbeeks999 - 09-25-2019, 06:03 PM - Forum: Technical Support - No Replies

Hi all,

I am unable to install talib in my gekko directory. It will provide me with the following error code:

Code:
gyp ERR! configure error
gyp ERR! stack Error: Command failed: /Users/martijnbeeks/anaconda3/bin/python -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack   File "<string>", line 1
gyp ERR! stack     import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack                                ^
gyp ERR! stack SyntaxError: invalid syntax
gyp ERR! stack
gyp ERR! stack     at ChildProcess.exithandler (child_process.js:294:12)
gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
gyp ERR! stack     at Socket.stream.socket.on (internal/child_process.js:389:11)
gyp ERR! stack     at Socket.emit (events.js:198:13)
gyp ERR! stack     at Pipe._handle.close (net.js:606:12)
gyp ERR! System Darwin 18.7.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure"
gyp ERR! cwd /Users/martijnbeeks/ProjectY/gekko-develop/talib
gyp ERR! node -v v10.16.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! talib@1.1.2 install: `node ./src/lib/build.js && node-gyp configure && node-gyp build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the talib@1.1.2 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:

Does anyone know what I am doing wrong? I am somehow thinking it interferes with Python and I completely removed Python but it was still not working.

Thanks in advance, 

Martijn


  trade with 50%
Posted by: MPrunner - 09-20-2019, 06:08 AM - Forum: Guides - Replies (3)

Hi,

i am new with gekko, but it works now :-)
i want to run 2 gekkos with one trading account. So i have to limit each gekko to a trading amount of 50% ?

can anybody tell me in simple words (i am not a programmer, i read some articles about this but didn't understand it ) where i can tell gekko to trade only with 50% of my amount ?

thank you so much

Mike