-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Binance Exchange - RSI indicator - this.roundTrip.exit.date.diff is not a function - Child process has died. #1862
Comments
What version of Gekko did you download (specifically did you download the release or latest develop branch)? |
I've downloaded the develop branch v0.5.13, I was having another issue with the stable release v0.5.10 where it was running into an "undefined" error on the Binance exchange which is why I tried this version. |
Are you running the UI or the CLI version? If the latter please post the config (with API keys removed). |
I'm just running the UI. |
I am quite confident I've found the root cause (empty trade events being broadcasted, see here for details). Working on a fix. What I found:
|
@joeljjablonski can we keep this open until it's fixed? Thanks! |
It turned out to be something else, namely this commit: 2a07c60 |
Experiencing the same issue. I didn't think to search closed bugs before I submit mine, should I close mine now? (#1872) |
@Red-Maximus let's keep this one closed and pick up yours in #1872! |
Note: for support questions, please join our Discord server
I'm submitting a ...
[ x ] bug report
[ ] feature request
[ ] question about the decisions made in the repository
Action taken (what you did)
Trading using the RSI indicator on the Binance exchange and after a few hours running it stops with the following error. I've installed the latest version of gekko but the error is still occuring.
I expected that gekko would keep running.
C:\Users\Joel\Downloads\gekko-develop\gekko-develop\plugins\performanceAnalyzer\performanceAnalyzer.js:112
duration: this.roundTrip.exit.date.diff(this.roundTrip.entry.date)
^
TypeError: this.roundTrip.exit.date.diff is not a function
at PerformanceAnalyzer.handleRoundtrip (C:\Users\Joel\Downloads\gekko-develop\gekko-develop\plugins\performanceAnalyzer\performanceAnalyzer.js:112:40)
at PerformanceAnalyzer.bound [as handleRoundtrip] (C:\Users\Joel\Downloads\gekko-develop\gekko-develop\node_modules\lodash\dist\lodash.js:729:21)
at PerformanceAnalyzer.logRoundtripPart (C:\Users\Joel\Downloads\gekko-develop\gekko-develop\plugins\performanceAnalyzer\performanceAnalyzer.js:94:10)
at PerformanceAnalyzer.bound [as logRoundtripPart] (C:\Users\Joel\Downloads\gekko-develop\gekko-develop\node_modules\lodash\dist\lodash.js:729:21)
at PerformanceAnalyzer.processTrade (C:\Users\Joel\Downloads\gekko-develop\gekko-develop\plugins\performanceAnalyzer\performanceAnalyzer.js:72:8)
at Trader.bound (C:\Users\Joel\Downloads\gekko-develop\gekko-develop\node_modules\lodash\dist\lodash.js:729:21)
at emitOne (events.js:121:20)
at Trader.emit (events.js:211:7)
at Trader.bound [as emit] (C:\Users\Joel\Downloads\gekko-develop\gekko-develop\node_modules\lodash\dist\lodash.js:729:21)
at Manager.Trader.manager.on.trade (C:\Users\Joel\Downloads\gekko-develop\gekko-develop\plugins\trader\trader.js:24:10)
RECEIVED ERROR IN GEKKO 3874845880689617
Child process has died.
Ps. I really appreciate any help anyone may be able to give.
The text was updated successfully, but these errors were encountered: