- ago
For a ParameterTypes.Double what is the minimum stepValue that can be used for Optimization?

(BTW, you may wish to change maxMalue to maxValue in the tooltip.)
2
1,790
18 Replies

Reply

Bookmark

Sort
- ago
#1
btw you can define your own StepValue:
https://www.wealth-lab.com/Support/ApiReference/Parameter

QUOTE:
(BTW, you may wish to change maxMalue to maxValue in the tooltip.)

Done, thanks.
0
- ago
#2
An IEEE 754 double value (which is used for a WL7 double parameter) has a resolution of 15 to 17 significant digits.
(see https://en.wikipedia.org/wiki/Double-precision_floating-point_format)
So the smallest possible step depends on the magnitude of the value.
From 1.0 it is about 1e-15.
From 1000.0 it is about 1e-12.
And so on.

What does it mean?
This means: For all practical applications the possible smallest step size is "small enough" i.e. very, very small compared to the start value.
0
- ago
#3
The thing is that both on the Chart and on the Optimize tabs the display is only up to 2 decimal places so everything is getting rounded up/down making it hard to figure out.

Is there a way for me to change the display to (at least) 4 decimal places. In WL6, one could specify under Preferences how many Decimal Places for Prices and Indicators to display.
0
Glitch8
 ( 9.89% )
- ago
#4
In WL7 the decimals in the price chart are controlled by the market/symbol. The indicator pane decimals adjust as needed to display required decimals, although I notice that the current "value marker" for the indicator does not respect these decimals, so I will fix that. I'll also work on the optimizer tab decimals because I see they do not adjust accordingly as you mentioned.

3
- ago
#5
👍

Most markets' decimal places appear to be locked, can't be changed:


Instead of unlocking them, may just be simpler to have the minimum number of decimal places for Prices and Indicators be selected in Preferences perhaps? The way this would work is the precision displayed would be the larger of this value or default value preset under Markets.
0
Glitch8
 ( 9.89% )
- ago
#6
I tagged this with Feature Request, you can vote for it in the Wish List.
1
- ago
#7
Are you able to modify the title to, say, something like:
Minimum stepValue for a double (Added: Feature Request for Greater Decimal Precision?
I'm afraid with the current title it'll never get voted upon lol.
0
- ago
#8
QUOTE:
Are you able to modify the title to, say, something like

Done.
1
- ago
#9
Can one of the developers please simplify the title (again!) to either
Override decimal precision
- or -
User-selectable decimal precision.

They are simpler, to the point and non-confusing.
TIA.
0
- ago
#10
QUOTE:
Instead of unlocking them, may just be simpler to have the minimum number of decimal places for Prices and Indicators be selected in Preferences perhaps?

Given that you can simply "Create a Copy" of a market, specifying your own Decimals for the copy, do we really need this request?
0
- ago
#11
Given that the solution exists and there hasn't been enough community interest in half a year, I believe it'd be best if we decline the request. IMO introducing such overrides may bring confusion.
0
- ago
#12
Just saw this.

QUOTE:
...simply "Create a Copy" of a market...


If one creates a Copy of a market does one have to do it every time you open the app or will the copy automatically update if anything changes in the parent (source)?
0
- ago
#13
A Copy is not a clone so it will not be updated automatically. It retains its own settings.

In any case you don't have to create a copy every time you open WL8!
0
- ago
#14
Seems like its not the clean, robust, set-and-forget solution a user would desire.

Wish the developers would allow a user to set decimal precision for display purposes - and, perhaps, also in other places e.g. when one copies backtest results to a text file the decimals are up to 14 (fourteen) places, that's way too much.
0
Glitch8
 ( 9.89% )
- ago
#15
This is still an active item in the wish list, so eventually we will get to it.
0
- ago
#16
It's marked as Declined, perhaps you can re-activate it? (and vote for it, too lol)
0
Glitch8
 ( 9.89% )
- ago
#17
Ok I reactivated it. It isn’t something I’d personally vote for because I’m perfectly satisfied with how WL8 handles the decimals currently.
0
- ago
#18
I think such requests without community interest in 1 1/2 year only stack up the queue and potentially bring more complexity and confusion which scares away new users.
0

Reply

Bookmark

Sort