- ago
{ I'm using 'Fundamental' in lieu of 'Event Data' in this post as its more universal. }

CODE:
Fundamental(BarHistory source, string item, bool carryForward)

A cool feature of the Fundamental series is that it can carry forward the fundamental item's value from one data point to the next. A limitation is that it doesn't allow one to choose a source.

It would be very useful to allow the user to choose which data provider they want to use, for the following reasons:
- data from one provider may be cleaner, more reliable, cover more securities or have longer history than another one (free sources are always suspect and/or may disappear any day so using them for backtesting is unreliable)
- one could specify different providers for different fundamental items for aforementioned reasons
- avoids the mystery of not knowing which source(s) was(were) used


Additional points:
- current (and future additions to) providers can be listed for selection as a drop-down menu so one doesn't have to guess the exact string to use (e.g. "WealthData", "Wealthdata", "Wealth-Data", "WData", etc.)
- text, csv or xml formats may also be offered as sources (internal structure can be specified) in case one has data in those formats
- lastly, fundamental item names can also be offered via a drop-down menu to avoid guesswork (e.g. is it "EPS" or "Earnings Per Share", etc.)
1
378
6 Replies

Reply

Bookmark

Sort
- ago
#1
QUOTE:
A limitation is that it doesn't allow one to choose a source.

You (so far) can name it as you like but as already explained, this new design is a step forward to avoid confusion rather than a limitation. If you want the data from the specific provider, simply uncheck the rest in the Data Manager.

QUOTE:
- text, csv or xml formats may also be offered as sources (internal structure can be specified) in case one has data in those formats

To give it a thought, it doesn't make good sense. If there is a worthy source of fundamentals that allows its data to be exported to XML or CSV and it's not an extension yet then the natural move would be to develop a WL data provider. That's why nobody has expressed any interest in this kind of feature.

But if you prefer XML/CSV, that indeed could be a separate concierge (paid) request:
https://www.wealth-lab.com/Support/Concierge
0
- ago
#2
1)
a)
QUOTE:
...simply uncheck the rest in the Data Manager

I tested it... for plotting dividend from Norgate I unchecked all other providers... it did NOT plot so it appears it's either not recognizing it as a source or maybe its a format issue.
b) Besides, unchecking of providers takes away the possibility of using them for other fundamental items.

2)
It takes several lines of code to retrieve and plot a provider-specific fundamental item series. If the choice of provider was listed it would be just ONE line of code, like so:
CODE:
Fundamental(BarHistory source, string item, string provider, bool carryForward)
Now that's de-cluttering!

3)
I only mentioned csv, xml formats for the sake of completeness in case some users have such, I have no interest beyond that.
0
Glitch8
 ( 11.81% )
- ago
#3
We can certainly leave the feature request open. Specifying a provider sounds like a reasonable option.
0
- ago
#4
Thank you.

IF implemented, may I suggest also add "Any" as a provider and make it the default; this way, by default, it'll work exactly like it does currently with no provider specified.

P.S. Don't forget to vote!
0
Glitch8
 ( 11.81% )
- ago
#5
If it's implemented, I think it would be an optional parameter, and if left out it would use the current behavior.
0
- ago
#6
That works, too.
0

Reply

Bookmark

Sort