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 368 online users.
» 0 Member(s) | 368 Guest(s)

Latest Threads
An official Gekko service...
Forum: Announcements
Last Post: tanvirai
11-20-2025, 12:18 PM
» Replies: 113
» Views: 291,598
Gekko development status ...
Forum: Announcements
Last Post: erectilenovus
11-17-2025, 11:36 AM
» Replies: 753
» Views: 1,767,920
Gekko 0.6 released
Forum: Announcements
Last Post: soniyathakur
11-02-2025, 12:21 PM
» Replies: 129
» Views: 380,287
Gekko with malware spotte...
Forum: Announcements
Last Post: cofffee124
10-30-2025, 09:56 AM
» Replies: 216
» Views: 346,003
New Gekko UI in the works
Forum: Announcements
Last Post: cofffee124
09-04-2025, 08:12 AM
» Replies: 186
» Views: 390,452
How to add Binance Future...
Forum: Technical Support
Last Post: Xavier32
10-07-2021, 02:20 PM
» Replies: 47
» Views: 159,118
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,989
a couple of technical Que...
Forum: Technical Support
Last Post: mtom78632
10-06-2021, 11:08 AM
» Replies: 25
» Views: 87,737
Is there any way to make ...
Forum: Custom Systems
Last Post: seorun
10-05-2021, 08:20 AM
» Replies: 42
» Views: 134,734

 
  [TUT] RaspberryPi3++Headless++VNC-Desktop
Posted by: susitronix - 02-16-2018, 04:36 AM - Forum: Guides - Replies (4)

RaspberryPi3 Desktop Headless VNC-Viewer Tutorial by philipp wyler
(i recomend buying a highspeed SDHC SDcard that makes raspi boot much faster)


    >>>Download Raspbian (faster install than noobs):
    //Raspbian Stretch with Desktop ZIP/torrent
    https://www.raspberrypi.org/downloads/raspbian/


    >>>Unzip using 7zip (recomended):
    //Download freeware
    http://download.cnet.com/7-Zip/3000-2250...45185.html
>>>Unzip your .img file using 7zip    //goto /user/downloads/
    

    >>>Prepare your SDHC card with SdCardFormatter:
    //Download freeware
    https://www.sdcard.org/downloads/formatter_4/
>>>Lounch SdCardFormatter and format SDHC-card   //(((((WARNING))))) SELECT APPROPRIATE DRIVE!!!


    >>>burn the Image onto your SDHC using Win32DiskImager:
    //Download freeware Win32DiskImager
    https://sourceforge.net/projects/win32di...t/download
>>>Lounch Win32DiskImager
>>>>>>>(((((WARNING))))) under device tab your SDHC location MUST BE SELECTED (drive ESmile
>>>>>>>click the small folder icon on top and SELECT YOUR RASPBIAN IMAGEFILE.
>>>>>>>click [WRITE]   //wait until finished. Installation of Raspbian is done.

    >>>Now we initiate the pi for lan/Wlan ssh connection:
>>>Open NOTEPAD (windows click start, write notepad and press enter to start notepad)
>>>SAVE AS: //click tab [file] [save as]   (no text needed)

>>>>>>>Location: //select your RaspberryPi Folder ON THE SDHC
>>>>>>>File name: "ssh"   //type: "ssh" WITH quotation mark!
>>>>>>>Save as type: All files >>> click SAVE


(((((WARNING))))) ALWAYS USE "SAVELY REMOVE HARDWARE" from your windows taskbar right side.


>>>Insert SDHC into your RaspberryPi WHILE POWER OFF.


>>>PowerON your RaspberryPi and dont touch for aprox. 2 minutes.


    >>>First we search our Network for find out the IP-adress, wich the DNS-server has choosen for for the Pi.
    >>>i am using: ios netAnalyzer (neat tool)
    //Download freeware
    http://download.cnet.com/Network-Scanner...59296.html
>>>Search for the IP address with name raspberry
    

    >>>for the configuration we use PUTTY CLI-cmd  (CLI=comand line interface)
    //Download freeware
    https://putty.org/
>>>Lounch PUTTY
>>>Enter your IP in the Field: Host Name (or IP address) //(192,133,1,75=FALSE) (192.133.1.75=TRUE)
>>>Click open enters the CLI-cmd
>>>login as:pi       //default user name
>>>password:raspberry     //default password

// CLI should look like this    

Code:
pi@raspberrypi:~ $


    >>>time for configuration: type
Code:
sudo raspi-config


//with the cursors select:    //initiate SDHC size
[7 Advanced Options]       //now cursor-right/left UNTIL <Select> is selected-->press enter
>>>choose: [Expand Filesystem]   //now cursor-right/left UNTIL <Select> is selected-->press enter

//with the cursors select:    //boot into desktop OS
[3 Boot Options]    //now cursor-right/left UNTIL <Select> is selected-->press enter
[B1 Desktop / CLI]    //now cursor-right/left UNTIL <Select> is selected-->press enter
[B4 Desktop Autologin]    //now cursor-right/left UNTIL <Select> is selected-->press enter

//with the cursors select:    //Enable VNC
[5 Interfacing Options]    //now cursor-right/left UNTIL <Select> is selected-->press enter
[P3 VNC]    //now cursor-right/left UNTIL <Select> is selected-->press enter

//close the config:
cursor-right/left UNTIL <Finish> is selected-->press enter
Like to REBOOT? select [YES]
>>>close PUTTY CLI-cmd


>>>after reboot open PUTTY CLI-cmd
    >>>configure the display options for VNC: //by editing the nano config text file

Code:
sudo nano /boot/config.txt


//use cursor up/down to navigate BELOW #hdmi_mode=1

Code:
# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1
hdmi_ignore_edid=5000080  //INSERT LINE AND ADD THIS TEXT
hdmi_group=2          //INSERT LINE AND ADD THIS TEXT
hdmi_mode=85          //INSERT LINE AND ADD THIS TEXT  //this will set the display Resolution @60Hz
                               //85=1280x720; 16=1024x768; 77=2560x1600
#uncomment to force a hdmi mode rather than........

    >>>finish Config press:
[ctrl] + [X]    //exit
[Y] = Yes    //do you want to save the file
[enter]        //File Name to write? //dont rename just hit enter!


//Reboot again
Code:
sudo reboot

>>>close PUTTY CLI-cmd


    >>>Download VNCviewer for Windows:
https://www.realvnc.com/en/connect/downl...r/windows/
>>>unzip to your desktop or C-drive   //no installation needed
>>>run VNCviewer
>>>enter your IP and press enter
>>>Username:pi       //default user name
>>>Password:raspberry     //default password
>>>OK



    Now Your inside RaspberryPi Desktop
    First we will FULLY update the Raspberry:
>>>Open Terminal=CLI-cmd and type:
Code:
sudo apt-get update    //Raspbian will fetch the Updates
sudo apt-get upgrade    //Raspbian will apply the Updates //wait patient!

The Raspberry installation is finnish.
Next we install Gekko:
 
*/This is from User: rick_rolled thanks again ;-)
https://forum.gekko.wizb.it/thread-10.html
/*

>>>open VNC=raspi desktop
>>>open Terminal (CLI-cmd)   //From nnow on we have a CLI in the raspi Desktop. PUTTY CLI not needed enymore.

Code:
    //Install nodejs and npm (https://www.raspberrypi.org/forums/viewt...p?t=141770)

curl -sL https://deb.nodesource.com/setup_6.x | sudo bash -
           // 6.x is latest verstion, but should be replaced by current version if available
sudo apt-get install nodejs -y

   //Install git
sudo apt-get install git

   //Install gekko
git clone git://github.com/askmike/gekko.git
cd gekko

   //Install gekko dependencies    //wait patient>>>dont touch until complete!
npm install --only=production

   //Install Tulip indicators
npm install tulind --only=production       //@rick_rolled just the tulip indicators were missing


   //Start gekko
node gekko --ui  (must be in ~/gekko) OR node /filepath/gekko --ui

This is it.
(((((NOTICE))))) the Password must be changed now because of enybody knows the Default Password:
>>>On Raspi Desktop top left, click on the fruit symbole.
>>>>>>>[Preferences]
>>>>>>>System (Tab)
>>>>>>>[Change Password]

Hope this helps.
Thanks: rick_rolled, Alexander Baran-Harper, AskMike, tommiehansen

I try askMikes Hint for Tip:
BTC 392hHafnMmHS8JWT6yDjdsX6mtEhQvTAq8
ETH 0x01d1897cE56347D936B9d8aceb422D8D2C958401


  Gekko works great but I have some questions
Posted by: rubinho - 02-15-2018, 07:36 AM - Forum: General Discussion - Replies (4)

What can I say but wow?  This platform is great.  I've got it up and running, written a strat using multiple indicators, backtested it and run it live (with pennies) and it all goes like clockwork.  Impressive!  Smile

A few things I am not sure on which I may have missed in the documentation. 
  1. What's the difference between check and update?  They both seem to do the same thing. 
  2. Do check/update get called at each quote from the exchange or just on a candlestick close?
  3. How do you trade at market rather than just candlestick close?
  4. When trading live, how do you get your exchange account balances and set the order quantity?  The advice long/short only seems to trade a single unit of the base currency. 
  5. When using indicators, is it possible to get them to plot on the backtest graph so you can check your buy/sell triggers are doing the correct thing?
Many thanks!  


  Running more than one Gekko instance on same exchange
Posted by: eugene - 02-15-2018, 06:19 AM - Forum: Technical Discussion - Replies (5)

Hi All,

Many thanks to Mike and contributors for creating and sharing such a great software.  

I'm pretty sure I've seen this issue discussed somewhere but couldn't find it again.

I've started second gekko instance on a same exchange but it looks like there will be a conflict if both trades will run as in below scenario i.e. :

1. BTC->USD
2. ETH->USD
3. USD->BTC
4. now USD balance is 0 and after some time if trade advisor decides to go long on ETH we will have a missed trade or have to refill the balance on the exchange

Is it possible to override the USD amount for order in step 3 so it will not use all available balance?
Can you please point to where to look in the code for this part ?


Thanks !


  [TUT] MERGE SQLite DATABASE FILES
Posted by: susitronix - 02-15-2018, 12:07 AM - Forum: Guides - Replies (4)

Gekko will create one db (database) file for every exchange. 

I had two Binance files from different computers.

The simplest way (thanks to TommieHansen) to MERGE these files is by using a tool:
SQliteStudio or phpLiteAdmin
(This tutorial is ONLY for SQliteStudio)

Download here:
https://sqlitestudio.pl/index.rvt
(click download on top of page, feel free to donate)

Only unpack the zip file and move to C/programs/ or User/Desktop. No Installation necessary
(Use Freeware 7zip)
http://download.cnet.com/7-Zip/3000-2250...45185.html

Double click >>> SQliteStudio.exe

Add the first database:
Menu >>> Database >>> [add Database]
In the popup window >>> click the small folder Icon
Choose /.../.../Gekko_Stable/History/YOUR FIRST .db FILE  // (example: binance_01.db)

Add the second database:
Menu >>> Database >>> [add Database]
In the popup window >>> click the small folder Icon
Choose  /YOUR SECOND .db FILE

On the left, double click your two .db files
Now you see your PAIRS:
candles_BTC/ETH

You can drag and drop [candles_BTC/ETH] like so:
>>> RightClickHold source file and move to the other Database >>>drop.
>>> choose COPY or MOVE
>>> repeat until your finished

Save the file, is not necessary since SQliteStudio establish a direct connection to the Database.
This allows us to edit/modify our .db WHILE it is in use by Gekko or other Clients.
>>> click/select on the .db file (binance_01)

>>>Menu >>> Database >>> [Disconnect from the Database]. (or click Icon)
Now your new .db is saved.
>>> No need to restart Gekko. ONLY click [Scan available data]


thanks to TommieHansen

I try askMikes Hint for Tip:
BTC 392hHafnMmHS8JWT6yDjdsX6mtEhQvTAq8
ETH 0x01d1897cE56347D936B9d8aceb422D8D2C958401


  Get imported history to extend data of market watchers
Posted by: bakardi - 02-14-2018, 07:06 PM - Forum: General Discussion - Replies (3)

Trying to find if there functionality to use imported data to extend marked watcher data to the trading bot. I see label on local data page:

The local data can also be used in a warmup period when running a strategy against a live market.

But I see that when I'm running strategy on UI it still running brand new watcher. Let me know if I'm doing something wrong? It became really painful to wait for the data from watcher if I kill wrong node process Smile
Thanks


Thumbs Up Using buy price of position in custom strategy
Posted by: reynard80 - 02-14-2018, 07:02 PM - Forum: Strategy Development - No Replies

Hello all,

I've been looking to use the buying price for a current position in my custom strategy, but I haven't been able to find an answer whether this is possible or not. I found a Git issue where this was proposed, but it seems this was not implemented.

Is it possible to use the buying price in a custom strategy? If so, how do I do that?

Thanks for all the good work!!


  portfolioManager-pinpong how to operate
Posted by: ankasem - 02-14-2018, 07:00 PM - Forum: Strategy Development - Replies (3)

hi all
gekko / plugins / trader in gekko
portfolioManager

how to operate

Looking for a small daily profit margin strategy
thank you


  resetting ubuntu in gekko live trade
Posted by: ankasem - 02-14-2018, 06:42 PM - Forum: Technical Discussion - Replies (1)

hi
resetting ubuntu in gekko live trade

When ubuntu is running i need to reset the problem

GEKKO ui live trading phrase and trade 1


how can I restore the old information after resetting Huh


  how does ubuntu install a second gekko
Posted by: ankasem - 02-14-2018, 05:34 PM - Forum: Technical Discussion - Replies (2)

hi
for ubuntu desktop
for the second stock market
how does ubuntu install a second gekko

it would be a drawback

thank you


  Custom buy(sell)/hold strategy
Posted by: Gil707 - 02-14-2018, 01:18 PM - Forum: Strategy Development - No Replies

Hello, guys, can anybody help, is it aviable to realize below strategy on Gekko, here it is (example)

BTC/USD
1) Timeframe: H1 (hour)
2) The working tool EMA 9 and EMA 21 are moving averages. (Moving Average, MA Exponential method, apply to close)
3) Entering a BUY transaction: crossing EMA 9 from top to bottom EMA 21
            Exit from the transaction (return signal) - reverse crossing (EMA 9 from below EMA 21)
4) Stop loss - that's the question. Because on the crypt the big volatility here 2
            options:
           a) trade without a stop - is unsafe.
           b) the exposure of the stop to the hand and when passing through the price for example 500 pips.
           (+ $ 500 - transfer to lossless)
5) Accordingly, the signal at SELL is the intersection of EMA 9 from bottom to top EMA 21. Exit from
           transaction (return signal) - the intersection of EMA 9 from top to bottom EMA 21.