-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Hi,
Thanks for releasing this code, it looks really interesting!
I'd like to use it to find best fit parameters for bit different domain, algo trading params to be precise.
To be honest I have no idea it it would work. When running sample from readme I've run into following error:
TypeError: Index must be an integer (value: undefined)
at exports.validateIndex (C:\Users\tadeu\Projects\bitmex-futures\node_modules\mathjs\lib\utils\array.js:94:11)
at _get (C:\Users\tadeu\Projects\bitmex-futures\node_modules\mathjs\lib\type\matrix\DenseMatrix.js:241:9)
at DenseMatrix.subset (C:\Users\tadeu\Projects\bitmex-futures\node_modules\mathjs\lib\type\matrix\DenseMatrix.js:135:16)
at Optimizer.getNextPoint (C:\Users\tadeu\Projects\bitmex-futures\node_modules\autotuner\optimizer.js:87:41)
at Object.<anonymous> (C:\Users\tadeu\Projects\bitmex-futures\test.js:16:19)
at Module._compile (internal/modules/cjs/loader.js:702:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
at Module.load (internal/modules/cjs/loader.js:612:32)
at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
at Function.Module._load (internal/modules/cjs/loader.js:543:3)
I think this is because I need to call addSample first, am I correct? Would it be possible to have option to have it working even when no samples are added?
Let's say I have following code:
var p = new autotuner.Paramspace();
p.addModel('tradesProfit', { param1: [1, 2, 3...1000], param2: [0....200]});
I assume for given iterations count (not sure what would be optimal value) I'd run my algorithm that would return expected profit for given params, and then add it as a sample, but not sure what is quality metric value, how that should be specified?
I'm really newbie to parameter optimization space, so please forgive me my silly questions, I'd really appreciate if you could point me into the right direction, anything would help (articles, blogs etc)
Thanks!