- ago
My data provider is not generic. It provides data to a specific set of symbols. I have Configuration coded for the adapter. I set IsGeneralPurposeProvider as false in the adapter since it is non-generic.

But then it disappears from the WL -> Data Manager -> Historic Providers window, without which I do not know how its configuration can be edited in UI.

Is there a specific way to configure Non-GeneralPurposeProviders?
0
247
Solved
2 Replies

Reply

Bookmark

Sort
- ago
#1
For historical providers marked IsGeneralPurposeProvider = false , typically this property is set to true to make its instances show in the Data Manager (e.g. ASCII data sources):
CODE:
public override bool NeedsNewInstancesForEachDataSet => true;
0
Glitch8
 ( 10.62% )
- ago
#2
If your Provider isn't general purpose, then it shouldn't appear in the Data Providers list in the Data Manager because it can't be used to deliver data for ad-hoc symbols that are entered.

The idea is the user would configure the DataSet in the New DataSet Wizard.

If your Provider really is "general purpose" (for example it can handle returning data for a large number of symbols in one particular market) consider returning true for IsGeneralPurposeProvider to allow it to be configured in the Data Manager.
1
Best Answer

Reply

Bookmark

Sort