Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

When using --currency_capital=0 there is an error #449

Closed
asafyish opened this issue Aug 7, 2017 · 3 comments
Closed

When using --currency_capital=0 there is an error #449

asafyish opened this issue Aug 7, 2017 · 3 comments
Labels

Comments

@asafyish
Copy link

asafyish commented Aug 7, 2017

Hi,

I am trying to run a simulation with assets only (no currency), like
--asset_capital=123 --currency_capital=0
But there is an error:

zenbot/node_modules/round-precision/index.js:8
throw new Error('Value must be a finite number')
^

Error: Value must be a finite number
at toPrecision (/Users/ayishai/Dev/zenbot/node_modules/round-precision/index.js:8:11)
at processOutput (/Users/ayishai/Dev/zenbot/backtester.js:120:13)
at shell.exec (/Users/ayishai/Dev/zenbot/backtester.js:94:14)
at /Users/ayishai/Dev/zenbot/node_modules/shelljs/src/exec.js:199:9
at ChildProcess.exithandler (child_process.js:262:7)
at emitTwo (events.js:125:13)
at ChildProcess.emit (events.js:213:7)
at maybeClose (internal/child_process.js:897:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:208:5)

@tiagosiebler
Copy link
Contributor

@LoneWolf345
Copy link
Contributor

Are you still experiencing this problem? If not, consider closing this.

@asafyish
Copy link
Author

asafyish commented Mar 7, 2018

Didn't tried for a long time.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants