GithubHelp home page GithubHelp logo

h256 / gekko-quasar-ui Goto Github PK

View Code? Open in Web Editor NEW
112.0 112.0 50.0 12.49 MB

An UI port for gekko trading bot using Quasar framework.

License: MIT License

JavaScript 19.04% Vue 79.25% HTML 0.73% Stylus 0.99%

gekko-quasar-ui's People

Contributors

dependabot[bot] avatar h256 avatar psheon avatar thetestspecimen avatar victorarthur 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  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

gekko-quasar-ui's Issues

[Bug] Indicators are not render on right timestamp

I'm submitting a ...
[ x] bug report

Action taken (what you did)
Trade indicators render correctly on backtest but live-trade or papertrade are not

Expected result (what you hoped would happen)
image

Actual result (unexpected outcome)
image

[bug] backtest-page not take over the new dataset

I'm submitting a ...
[ x] bug report

Action taken (what you did)
First I execute a backtest in the ui with a choosen dataset and the page behave like expected.
Then I choose another dataset and execute the backtest again. The page do not take the updated dataset, but took the old one.
I did that with chrome.

Expected result (what you hoped would happen)
I expect that the page takes over the new choosen dataset.

Actual result (unexpected outcome)
The page takes over the old(first) choosen dataset.

Other information
to reproduce that you have to stay on the same exchange with the same currency and only change the asset, in my case binance:USDT:ANY

image

'Market watchers' or 'Tradebot' action error

Hello,

I am satisfied with quasar framework and ui
but
I got an error
when execute 'Market watchers' or 'Tradebot' action
of LIVE GEKKO MENU

as follows:
--> GET /api/configPart/paperTrader 200 3ms 132b
--> GET /api/strategies 200 9ms 2.13kb
<-- GET /api/strategies
--> GET /api/strategies 200 3ms 2.13kb
<-- POST /api/startGekko
2019-09-14 22:30 Gekko 2019-09-14-22-30-watcher-096423572585095 started.
--> POST /api/startGekko 200 14ms 1.23kb
<-- POST /api/getCandles
events.js:174
throw er; // Unhandled 'error' event
^

Error [ERR_IPC_DISCONNECTED]: IPC channel is already disconnected
at ChildProcess.target.disconnect (internal/child_process.js:788:26)
at ChildProcess. (/Users/neo1/WebstormProjects/alpha/core/workers/loadCandles/parent.js:59:10)
at ChildProcess.emit (events.js:198:13)
at emit (internal/child_process.js:832:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
Emitted 'error' event at:
at ChildProcess.target.disconnect (internal/child_process.js:788:12)
at ChildProcess. (/Users/neo1/WebstormProjects/alpha/core/workers/loadCandles/parent.js:59:10)
[... lines matching original stack trace ...]
at process._tickCallback (internal/process/next_tick.js:63:19)
disconnect
neoui-iMac:alpha neo1$

ps. original gekko's source
getCandles: function() {
but gekko-quasar-ui
getCandles: async function () {
just async is different but it is not related with error, i tested -.-

please help me... is there any other way to solve it..

thank you

Remark - gekko-quasar-ui install on linux (Ubuntu 20.04)

Hello H256

I just got your project to work on Ubuntu and I like it very much.

For me the 'npm install' does not work and I ended up in dependency hell.

Hence, I installed yarn and 'yarn install' worked directly out-of-the-box.
May I suggest to mention this in your README.

Thank you for that and keep up the good work.

KR

Latest Release doesn't seem to work with latest Babel

First thanks, I really appreciate all your work and am a fan of the previous release.
However, Version 0.6.6.20180916 is giving me trouble with babel. It looks like you are using an older version than the current release. I suspect my issue could be fixed by just knowing how to install babel to match your build environment.

Anyway here is what I did:
git clone https://github.com/H256/gekko-quasar-ui.git
cd gekko-quasar-ui
npm install
npm install autoprefixer
npm install @babel/core --save-dev
npm install @babel/plugin-transform-runtime --save-dev
npm install @babel/preset-env --save-dev
npm install @babel/preset-stage-2 --save-dev
npm install babel-plugin-transform-imports --save-dev

And here is what happened:
quasar dev

ERROR Failed to compile with 1 errors 4:33:35 PM

error in ./.quasar/client-entry.js

Module build failed (from /usr/lib/node_modules/quasar-cli/node_modules/babel-loader/lib/index.js):
Error: [BABEL] /home/tanj/gekko-quasar-ui/.quasar/client-entry.js: The 'polyfill' option has been removed. The @babel/runtime module now skips polyfilling by default. (While processing: "/home/ tanj/gekko-quasar-ui/node_modules/@babel/plugin-transform-runtime/lib/index.js")

  • index.js:131 _default
    [gekko-quasar-ui]/[@babel]/plugin-transform-runtime/lib/index.js:131:13

  • index.js:19
    [gekko-quasar-ui]/[@babel]/helper-plugin-utils/lib/index.js:19:12

  • full.js:157 loadDescriptor
    [lib]/[quasar-cli]/[@babel]/core/lib/config/full.js:157:14

  • caching.js:32 cachedFunction
    [lib]/[quasar-cli]/[@babel]/core/lib/config/caching.js:32:19

  • full.js:192 loadPluginDescriptor
    [lib]/[quasar-cli]/[@babel]/core/lib/config/full.js:192:28

  • full.js:68 config.plugins.map.descriptor
    [lib]/[quasar-cli]/[@babel]/core/lib/config/full.js:68:16

  • Array.map

  • full.js:67 recurseDescriptors
    [lib]/[quasar-cli]/[@babel]/core/lib/config/full.js:67:38

  • full.js:100 loadFullConfig
    [lib]/[quasar-cli]/[@babel]/core/lib/config/full.js:100:6

  • transform.js:28 process.nextTick
    [lib]/[quasar-cli]/[@babel]/core/lib/transform.js:28:33

@ multi (webpack)-dev-server/client?http://0.0.0.0:8080 (webpack)/hot/dev-server.js ./.quasar/client-entry.js


Thanks in advance for any assistance in getting this running.

Using Quasar UI like a main UI for gekko

Thanks for your big work!
Please correct documentation part for "Compile for replacing the original Gekko-UI"
it should be one more step after (6):
Edit ~line 87 in web -> server.js:
replace

app
  .use(cors())
  .use(serve(WEBROOT + 'vue/dist'))
  .use(bodyParser())
  .use(require('koa-logger')())
  .use(router.routes())
  .use(router.allowedMethods());

with

app
  .use(cors())
  .use(serve(WEBROOT + 'vue'))
  .use(bodyParser())
  .use(require('koa-logger')())
  .use(router.routes())
  .use(router.allowedMethods());

Gekko v. 0.6.5

UI desktop

Hi! This really good work, i have some visual improvement for your ui.

  1. H3 fonts to big, on my mac 13'' i use 25px for H3.
  2. Top panel with slider, and footer steal monitor heigth, i hide it by display:none css option.
    If the sidebar with links to the community is needed - you can place the button in the panel with gekko tabs in the first place.
  3. I make some fonts and icons smaller, now more information is available on the screen, the same applies to the transaction table.
    http://joxi.ru/MAj1QW7H4nwYw2

TODO: Enhancement ideas - round 1

Todo:

  • add dashboard overview for all running processes (imports, live-gekkos, backtest)
  • add liveview of running imports into sidebar or top toolbar
  • try to build backtest graph with echarts instead of d3 custom plot
  • impement round(), round2() and humanizeDuration as Vue-Filter-Pipes
  • implement getters for store, so that calling from within components is easier...
  • refactor all components to layouts -> pages with subroutes and tabs so that pages don't get too long
  • refactor humanizeDuration, toml and moment to Quasar Plugins, so they can be called with this.$ from within components.
  • refactor axios calls on templates to store calls or repository pattern
  • in the backtester, enable users to copy current strategy settings to clipboard as json notation for use in cli-gekko.

[Bug] _ indicators are static

Indicators with _ in name are static on chart (visible like horizontal line). For example standard PPO vs standard MACD indicator. PPO is error = static line of one number on chart. MACD is OK - different values.

I updated to https://github.com/H256/gekko with last commit on 2/21/19 . Used before it old version with gekko 0.5.x and worked OK

[bug] the timeline in the market graph has always the same date (with server-side linux-environment)

I'm submitting a ...
[ ] bug report

Action taken (what you did)
I choose a any strategy with any settings under Linux(Server:Ubuntu v16.04.5; NodeJs v8.12.0; gekko v0.6.6; Client Windows 10 and Chrome) with timezone UTC

Expected result
I expect gekko quasar UI to show correct timeline

Actual result (unexpected outcome)
The timeline in chart has always the same date, no matter which strategy or which settings is used.

image

How is it possible to display the extendended Market graph?

On the last picture of the description page is displayed an extended Market graph where you can select indicators and choose the direction of the axis.
How we can use this extended view (there is written: "applies only to patched version")?

image

Cannot turn on show indicators

Hello @H256
Thank you for porting :) That's very nice.

I'm trying to show indicators on graph ("when present: render indicator results to market chart!").

Also I tried to install fork https://github.com/h256/gekko .

Thanks

Update1: "Pull gui-and-features branch for changes!" is the solution

How can tulip-indicators be displayed in the market graph?

Action taken (what you did)
I write my own strategy with some tulip-indicators.

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

Expected result (what you hoped would happen)
I want the indicators to be displayed in the market graph.

Actual result (unexpected outcome)
there is no overlay in the market graph

How can the indicators be displayed in the market graph?

TODOs: Porting Gekko-UI to Quasar Framework

Todo:

  • convert base assets etc. to quasar
  • revamp ajax and store module with axios
  • convert config-pages to quasar
  • convert data-pages to quasar
  • convert backtester-pages to quasar
  • convert live-gekko-pages to quasar
  • replace global moment with imported module
  • replace global humanize-duration dependency with imported module
  • replace custom ajax dependency with calls to axios

Unattached footer

Is there a chance to get unattached footer? Because it fits many spaces and annoying.
Just do something like this - https://ibb.co/doXRCz . Is it real?

Thanks. Have a nice day

Indicators colors

Hello,
Thank you very much for sharing this, i am using 4EMA in my strategy, it displays all the indicators as needed, i just would like to know how to change the colors of each indicator ?
Any help please ?
Many Thanks.

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.