Git Product home page Git Product logo

google-forms-gekko-plugin's People

Contributors

gryphonr avatar xfffff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

google-forms-gekko-plugin's Issues

neuralnet_v2

So I downloaded your neuralnet_v2 strategy to my Gekko. I tried running a backtest but it doesn't run. I have put the .js file in the strategy folder and the .toml in the config/strategies folder. I am reading in the .js file that it requires: var convnetjs = require('convnetjs');
var math = require('mathjs');
var log = require('../core/log.js');
Are those file part of the Gekko when I originally download it? If not, where to I get those files and what subfolders do they need to be put it? I'm just starting to use the Gekko, and I'm not understanding how to get these other strategies added to it. Thanks for any help you can lend.

v/r
Hoppy

cannot find module '../core/log.js'

Full error below - I want to apologize in advance - I make it a practice to solve my own issues but since this is so far out of my norm, I am asking for help. I've dumped 2 hours into this already... I took Comp Sci in college about 6 years ago and haven't used it at all since then - life gets in the way, ya know?

<-- POST /api/backtest
uncaughtException { Error: Cannot find module '../core/log.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)
at Function.Module._load (internal/modules/cjs/loader.js:508:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object. (/Users/Neil/gekko/plugins.js:254:11)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
at Function.Module._load (internal/modules/cjs/loader.js:531:3) code: 'MODULE_NOT_FOUND' }
xxx POST /api/backtest 500 202ms -

Error: non-error thrown: [object Object]
at Object.onerror (/Users/Neil/gekko/node_modules/koa/lib/context.js:105:40)
at process._tickCallback (internal/process/next_tick.js:68:7)


Update


I think this is what was causing the issue, I had the Survey Link in the wrong spot... hey, i'm very rusty! What am I doing wrong here?
config.gforms = {
enabled: true,
botTag: ‘NeilsTag', //Add a custom tag here. This will be included in the name of the spreadsheet tab for this bot.
prefill: 'https://docs.google.com/forms/d/e/1FAIpQLSdt8NGLUxwmM8MdaB8sDKEPAnozpFdEJ-nqV6iYVPyYm1YLQA/viewform?usp=pp_url&entry.307416514=+&entry.181585019= etc',
};

update for Gekko 0.6

Hey! Gekko 0.6 has been released and unfortunately there have been breaking changes. As far I can see they are:

https://github.com/RJPGriffin/google-forms-gekko-plugin/blob/73bed2f4645ec78159be9eceb323c3c595bb6240/plugins/gforms.js#L66

The advice does not come with a candle anymore, instead this plugin can keep track of the latest candle price by something as:

gforms.prototype.processCandle = function(candle, done) {
  this.price = candle.close;
  done();
}

(and use this.price in the processAdvice call).

AND:

https://github.com/RJPGriffin/google-forms-gekko-plugin/blob/73bed2f4645ec78159be9eceb323c3c595bb6240/plugins/gforms.js#L70

There is no "trade" event anymore, please use the new tradeCompleted event instead.

I've only glanced through the code but I think that should be it :)

Error when running Gekko

Hi, i'm getting this error when trying to run Gekko, very new to this so not entirely sure what i'm doing lol.

Here's the error msg i'm getting:

C:\Users\Ballsy\gekko\plugins.js:197
description: 'Logs Trades to Google Forms',
^

SyntaxError: Unexpected token :
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:607:28)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3)
at Module.require (module.js:587:17)
at require (internal/module.js:11:18)
at pipeline (C:\Users\Ballsy\gekko\core\pipeline.js:42:26)
xxx POST /api/backtest 500 3,650ms -

Error: non-error thrown: Child process has died.
at Object.onerror (C:\Users\Ballsy\gekko\node_modules\koa\lib\c
05:40)
at
at process._tickCallback (internal/process/next_tick.js:188:7)

Gekko Logger Form cannot be submitted

Expected Result:
botTag can be any custom tag name as seen in the comment:
//Add a custom tag here. This will be included in the name of the spreadsheet tab for this bot.

Actual Result:
Trade cannot be submitted to google sheet if the botTag is not a number.

2018-06-20_1657

Handling for starting balance as Asset

So sheet gave few errors on first cell because it started with "Sell" not "buy".

So if I am trading on BTC-USD with starting balance in BTC not in USD then the first thing gekko does is sell but sheet tries to calculate profit on this sell which is not possible. I think this particular case can be handled when first order is a sell not a buy.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.