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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 5,020
» Latest member: s7ubborn
» Forum threads: 869
» Forum posts: 4,220

Full Statistics

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

Latest Threads
Error compiling gekko bot...
Forum: Technical Support
Last Post: jcfm
Today, 12:43 AM
» Replies: 1
» Views: 161
printf "username:`openssl...
Forum: Technical Support
Last Post: jcfm
Today, 12:24 AM
» Replies: 1
» Views: 599
Issue: 502 Bad Gateway wh...
Forum: Technical Discussion
Last Post: gurkentier
12-09-2019, 01:33 PM
» Replies: 0
» Views: 57
Daily Forex News
Forum: General Discussion
Last Post: xtreamforex
12-06-2019, 09:24 AM
» Replies: 30
» Views: 5,091
[SHARE] GAB - Gekko Autom...
Forum: Third Party Software
Last Post: crahlfs
12-03-2019, 10:31 AM
» Replies: 137
» Views: 102,994
Gekko Deployment Tool
Forum: Third Party Software
Last Post: brobrobraap
12-02-2019, 03:42 PM
» Replies: 1
» Views: 333
Gekko development status ...
Forum: Announcements
Last Post: zafferkumar
11-27-2019, 11:16 AM
» Replies: 25
» Views: 18,293
Leading Diagonal
Forum: General Discussion
Last Post: freeforex20
11-25-2019, 04:50 PM
» Replies: 0
» Views: 154
GDAX Users?
Forum: GDAX
Last Post: LoNgTuRd
11-24-2019, 02:54 AM
» Replies: 0
» Views: 54
Error compiling gekko bot...
Forum: Technical Discussion
Last Post: peterdehondt
11-23-2019, 05:50 PM
» Replies: 1
» Views: 166

 
  Errors
Posted by: Drewskie - 01-07-2018, 10:18 AM - Forum: Technical Support - No Replies

First off I am very new to crypo and Linux.

I get the following errors using Kraken exchange:
Not sure if this is an error 
getPortfolio
aa { '0': null,
  '1': { error: [], result: { XXBT: '0.0050000000' } } }

But this is definitely an error

(node:22051) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'name' of undefined
   at Fetcher.processTrades (/home/drewskie/gekko/core/budfox/marketFetcher.js:94:29)
   at bound (/home/drewskie/gekko/node_modules/lodash/dist/lodash.js:729:21)
   at Trader.processResults (/home/drewskie/gekko/exchanges/kraken.js:145:21)
   at bound (/home/drewskie/gekko/node_modules/lodash/dist/lodash.js:729:21)
   at /home/drewskie/gekko/core/util.js:28:7
   at /home/drewskie/gekko/exchanges/kraken.js:137:12
   at response.then.catch.error (/home/drewskie/gekko/node_modules/kraken-api-es5/index.js:132:70)
   at <anonymous>
   at process._tickCallback (internal/process/next_tick.js:160:7)
(node:22051) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:22051) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Any idea what I am doing wrong


  Does Gekko poll the exchange more than once per minute?
Posted by: redquicksilver - 01-07-2018, 07:44 AM - Forum: General Discussion - Replies (4)

Due to the highly volatile nature of the cryptocurrency markets and that the price can fluctuate from one second to the next, I would like to ask if Gekko polls each exchange more than once per minute, particularly when it comes time to act.  Once it is getting close to a 'buy' or 'sell' indicator being raised, does it poll the exchange at more regular intervals in order to get the best price?


  Which exchange?
Posted by: redquicksilver - 01-07-2018, 07:21 AM - Forum: General Discussion - Replies (4)

Hi anyone who is out there,

Just wondering which exchange to use, and if any one is better than the others.  Since there are 19 to choose from, I currently have an account with GDAX so just use that one.  Is there such a comprehensive list to cater for people who have accounts with all these exchanges, or is one account better for some reason unknown to me?

Many thanks,
Stephen


  Why isn't there a EMA strategy?
Posted by: redquicksilver - 01-07-2018, 07:06 AM - Forum: Strategy Development - Replies (4)

This is a question for askmike, but if anyone else can answer then please do:

I am fairly new to Gekko and am looking at the strategies available, the one that I am interested in is the EMA strategy after having read about it from Goomboo's posts from your recommendation.  It is also available on many of the online crypto websites, (GDAX cryptowat.ch) where you can select it from the menu and the EMA will appear along with the candles on the main chart.

Whilst I have been into cryptocurrencies for about a year, I was going to write a bot myself being a software developer but someone sent me a link to yours which I am using and perhaps modifying and creating it myself, however before I do, I thought there must be a reason why you create it yourself?


  Use of BBands on one indicator to generate advice on a different coin
Posted by: rock5463 - 01-06-2018, 07:40 PM - Forum: Strategy Development - No Replies

Basically, I want to create an indicator that generates buy/sell signals based on the BTC/USDT prices. Then the actual trades would be places on another coin.

What I have done so far is got BBands to work in Tulip, but i need to somehow pull the data in for BTC/USDT and use it to trade a different pair.

I have very basic coding skills so would appreciate any help I can receive. I am not even sure where to begin. I was thinking that it could all be coded into one strategy that simply does the following.

1. Pulls USDT data live
2. Runs Bollinger bands against it to generate the trading advice.
3. Executes the trades against the actual selected pair.

Please let me know what you think.


  Sharpe Ratio
Posted by: Blade - 01-06-2018, 01:12 PM - Forum: General Discussion - Replies (4)

Hello,
Depends of the strategy, what are the meanings to up our sharpe ratio ? It's really hard for me to have over 0.9...
Thank you


  view balance before any trade runs paper trader UI
Posted by: dakkafex - 01-05-2018, 10:11 PM - Forum: Feature Requests - No Replies

So rather simple suggestion,

The option to see the initial balance of both the currency and assets when viewing a paper trading gekko.
When making multiple paper traders I find myself not sure which one is which before the first trade run, which could take hours or days.
Being able to name them would also be super helpfull

I've tried messing about to get this working locally but I'm not used to the whole vue.js workflow


Oh and while at it, an option to cancel a paper trader, would be quite nice too.


  [Request] Kraken 24 Hour Average Price for use in strategy
Posted by: haccg - 01-05-2018, 05:20 PM - Forum: Strategy Development - No Replies

Kraken API offers the 24 hour average Price over the ticker, which I would like to use in a strategy
How Do I get to use this information in my strategy?
Like I want to buy something for the average price or a price depending on the average price.



Further information regarding the API provided by Kraken.com
Get ticker information
URL: https://api.kraken.com/0/public/Ticker

Input:
pair = comma delimited list of asset pairs to get info on
Result: array of pair names and their ticker info

<pair_name> = pair name
a = ask array(, , ),
b = bid array(, , ),
c = last trade closed array(, ),
v = volume array(, <last 24 hours>),
p = volume weighted average price array(, <last 24 hours>),
t = number of trades array(, <last 24 hours>),
l = low array(, <last 24 hours>),
h = high array(, <last 24 hours>),
o = today's opening price
Note: Today's prices start at 00:00:00 UTC


  No import of historical data
Posted by: helmuteke - 01-05-2018, 01:20 PM - Forum: Binance - Replies (3)

hello ,

i've already placed this on github.

But there is no import of data from binance .

Can someone tell me hw i can start to solve this ?

tnx

Helmut


  Error at installing on Raspberry Pi
Posted by: phoenix-blue - 01-04-2018, 07:46 PM - Forum: Technical Support - Replies (8)

Hello,

I'm trying to install Gekko on an clean raspberry pi jessi, but get some errors.
The Rapi is up-to-date and i have install extr nodejs but when in use the command:

Code:
pi@raspberrypi:~/gekko $ npm install --only=production

I get net next error log:
Code:
> websocket@1.0.24 install /home/pi/gekko/node_modules/websocket
> (node-gyp rebuild 2> builderror.log) || (exit 0)

make: Entering directory '/home/pi/gekko/node_modules/websocket/build'
 CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
 SOLINK_MODULE(target) Release/obj.target/bufferutil.node
 COPY Release/bufferutil.node
 CXX(target) Release/obj.target/validation/src/validation.o
 SOLINK_MODULE(target) Release/obj.target/validation.node
 COPY Release/validation.node
make: Leaving directory '/home/pi/gekko/node_modules/websocket/build'

> sqlite3@3.1.11 install /home/pi/gekko/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build

node-pre-gyp ERR! Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.11/node-v59-linux-arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for sqlite3@3.1.11 and node@9.3.0 (node-v59 ABI) (falling back to source compile with node-gyp)
make: Entering directory '/home/pi/gekko/node_modules/sqlite3/build'
 ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c
 TOUCH Release/obj.target/deps/action_before_build.stamp
 CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3150000/sqlite3.o
 AR(target) Release/obj.target/deps/sqlite3.a
 COPY Release/sqlite3.a
 CXX(target) Release/obj.target/node_sqlite3/src/database.o
In file included from ../../nan/nan.h:192:0,
                from ../src/database.h:10,
                from ../src/database.cc:4:
../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
../../nan/nan_maybe_43_inl.h:112:73: warning: ‘v8::Maybe<bool> v8::Object::ForceSet(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated: Use CreateDataProperty / DefineOwnProperty [-Wdeprecated-declarations]
  return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
                                                                        ^
In file included from /home/pi/.node-gyp/9.3.0/include/node/v8.h:26:0,
                from /home/pi/.node-gyp/9.3.0/include/node/node.h:63,
                from ../../nan/nan.h:49,
                from ../src/database.h:10,
                from ../src/database.cc:4:
/home/pi/.node-gyp/9.3.0/include/node/v8.h:3115:29: note: declared here
                Maybe<bool> ForceSet(Local<Context> context, Local<Value> key,
                            ^
/home/pi/.node-gyp/9.3.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
  declarator __attribute__((deprecated(message)))
  ^~~~~~~~~~
../src/database.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE node_sqlite3::Database::New(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/database.cc:133:96: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local<v8::String>, v8::Local<v8::String>, v8::PropertyAttribute)’
    info.This()->ForceSet(Nan::New("filename").ToLocalChecked(), info[0].As<String>(), ReadOnly);
                                                                                               ^
In file included from /home/pi/.node-gyp/9.3.0/include/node/v8.h:26:0,
                from /home/pi/.node-gyp/9.3.0/include/node/node.h:63,
                from ../../nan/nan.h:49,
                from ../src/database.h:10,
                from ../src/database.cc:4:
/home/pi/.node-gyp/9.3.0/include/node/v8.h:3115:29: note: candidate: v8::Maybe<bool> v8::Object::ForceSet(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)
                Maybe<bool> ForceSet(Local<Context> context, Local<Value> key,
                            ^
/home/pi/.node-gyp/9.3.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
  declarator __attribute__((deprecated(message)))
  ^~~~~~~~~~
/home/pi/.node-gyp/9.3.0/include/node/v8.h:3115:29: note:   no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local<v8::Value>’
                Maybe<bool> ForceSet(Local<Context> context, Local<Value> key,
                            ^
/home/pi/.node-gyp/9.3.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
  declarator __attribute__((deprecated(message)))
  ^~~~~~~~~~
../src/database.cc:134:86: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local<v8::String>, Nan::imp::IntegerFactory<v8::Int32>::return_t, v8::PropertyAttribute)’
    info.This()->ForceSet(Nan::New("mode").ToLocalChecked(), Nan::New(mode), ReadOnly);
                                                                                     ^
In file included from /home/pi/.node-gyp/9.3.0/include/node/v8.h:26:0,
                from /home/pi/.node-gyp/9.3.0/include/node/node.h:63,
                from ../../nan/nan.h:49,
                from ../src/database.h:10,
                from ../src/database.cc:4:
/home/pi/.node-gyp/9.3.0/include/node/v8.h:3115:29: note: candidate: v8::Maybe<bool> v8::Object::ForceSet(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)
                Maybe<bool> ForceSet(Local<Context> context, Local<Value> key,
                            ^
/home/pi/.node-gyp/9.3.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
  declarator __attribute__((deprecated(message)))
  ^~~~~~~~~~
/home/pi/.node-gyp/9.3.0/include/node/v8.h:3115:29: note:   no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local<v8::Value>’
                Maybe<bool> ForceSet(Local<Context> context, Local<Value> key,
                            ^
/home/pi/.node-gyp/9.3.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
  declarator __attribute__((deprecated(message)))
  ^~~~~~~~~~
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginOpen(node_sqlite3::Database::Baton*)’:
../src/database.cc:144:9: warning: unused variable ‘status’ [-Wunused-variable]
    int status = uv_queue_work(uv_default_loop(),
        ^~~~~~
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginClose(node_sqlite3::Database::Baton*)’:
../src/database.cc:230:9: warning: unused variable ‘status’ [-Wunused-variable]
    int status = uv_queue_work(uv_default_loop(),
        ^~~~~~
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginExec(node_sqlite3::Database::Baton*)’:
../src/database.cc:525:9: warning: unused variable ‘status’ [-Wunused-variable]
    int status = uv_queue_work(uv_default_loop(),
        ^~~~~~
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginLoadExtension(node_sqlite3::Database::Baton*)’:
../src/database.cc:625:9: warning: unused variable ‘status’ [-Wunused-variable]
    int status = uv_queue_work(uv_default_loop(),
        ^~~~~~
node_sqlite3.target.mk:113: recipe for target 'Release/obj.target/node_sqlite3/src/database.o' failed
make: *** [Release/obj.target/node_sqlite3/src/database.o] Error 1
make: Leaving directory '/home/pi/gekko/node_modules/sqlite3/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at ChildProcess.emit (events.js:159:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
gyp ERR! System Linux 4.9.59-v7+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/pi/gekko/node_modules/sqlite3/lib/binding/node-v59-linux-arm/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/home/pi/gekko/node_modules/sqlite3/lib/binding/node-v59-linux-arm"
gyp ERR! cwd /home/pi/gekko/node_modules/sqlite3
gyp ERR! node -v v9.3.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/gekko/node_modules/sqlite3/lib/binding/node-v59-linux-arm/node_sqlite3.node --module_name=node_sqlite3 --module_path=/home/pi/gekko/node_modules/sqlite3/lib/binding/node-v59-linux-arm' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/home/pi/gekko/node_modules/sqlite3/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:159:13)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:943:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5)
node-pre-gyp ERR! System Linux 4.9.59-v7+
node-pre-gyp ERR! command "/usr/bin/node" "/home/pi/gekko/node_modules/sqlite3/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/pi/gekko/node_modules/sqlite3
node-pre-gyp ERR! node -v v9.3.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.37
node-pre-gyp ERR! not ok
Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/gekko/node_modules/sqlite3/lib/binding/node-v59-linux-arm/node_sqlite3.node --module_name=node_sqlite3 --module_path=/home/pi/gekko/node_modules/sqlite3/lib/binding/node-v59-linux-arm' (1)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sqlite3@3.1.11 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sqlite3@3.1.11 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:
npm ERR!     /home/pi/.npm/_logs/2018-01-04T19_38_06_383Z-debug.log

Is there something i have forgot to install?