Giter VIP home page Giter VIP logo

Comments (6)

nick-dolan avatar nick-dolan commented on June 18, 2024

@WilbertNL, thank you for the issue! It was an error in "generateRange" that returns strings instead of numbers. I fix it so you can pull and test.
In addition, note that the values ​​in the CSV file are rounded to three decimal places since 7c1a69d commit.
Fees and slippage/spread also affect the final price, you can set up it now in your config, see example in sample-config.js.

If this does not solve the problem, please let me know.

from gekko-batcher.

WilbertNL avatar WilbertNL commented on June 18, 2024

Thanks for the quick actions! I've applied the changes and am currently running a test. Not sure if I'm able to provide feedback today, but surely tomorrow.

from gekko-batcher.

WilbertNL avatar WilbertNL commented on June 18, 2024

Awesome, your fix worked, thanks! Now I get the same results across the board with my test with the MACD strategy. I'm now running the bit more complex RSI_BULL_BEAR_ADX.

I did see this messages during the bruteforce:

((node:1444) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 201 unhandledRejection listeners added. Use emitter.setMaxListeners() to increase limit

Is that something I should investigate?

Great job, thanks!

from gekko-batcher.

WilbertNL avatar WilbertNL commented on June 18, 2024

Ah, bruteforcing the RSI_BULL_BEAR_ADX. Perhaps related to the MaxListeners..-warning or am I just too ambitious with 531441 combinations?

$ node bruteforce.js 
531441 combinations
Started: RSI_BULL_BEAR_ADX USDT/BTC 5/1000 Binance
Started: RSI_BULL_BEAR_ADX USDT/BTC 5/1000 Binance
Started: RSI_BULL_BEAR_ADX USDT/BTC 5/1000 Binance
Started: RSI_BULL_BEAR_ADX USDT/BTC 5/1000 Binance
{ Error: socket hang up
    at createHangUpError (_http_client.js:342:15)
    at Socket.socketOnEnd (_http_client.js:437:23)
    at emitNone (events.js:111:20)
    at Socket.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1064:12)
    at _combinedTickCallback (internal/process/next_tick.js:139:11)
    at process._tickCallback (internal/process/next_tick.js:181:9)
  code: 'ECONNRESET',
<...>

I can post the full, loooooooong output if interested?

from gekko-batcher.

WilbertNL avatar WilbertNL commented on June 18, 2024

Never mind, my bad: I should've added more cores to the VM or lower
config.parallelQueries = 4; in the config.js.

Brutforce is running now.

from gekko-batcher.

nick-dolan avatar nick-dolan commented on June 18, 2024

I did see this messages during the bruteforce:

((node:1444) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 201 unhandledRejection listeners added. Use emitter.setMaxListeners() to increase limit

@WilbertNL could you open a new issue and attach config as you did here, please. I will make some tests.

from gekko-batcher.

Related Issues (11)

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.