DSS Search: FundSearch using FundSubType

Hi,

Would like to retrieve full results for Fund Search - for Fund Subtype TASS Hedge Fund only.

Please could you help me with the example request, it's not retrieveing any results for me.

        [Example("Fund Search: By Fund SubType")]
public void FundSearch_ByRic()
{
SearchContext.Preferences.MaxPageSize = 10;


Status.Notify(SearchContext, null, "FundSearch", MethodType.Operation, Publish.Primary);
var results = SearchContext.FundSearch(
FundSearchRequest.Create(
null, //Asset Status
null, //Fund name
null, //Fund adminstrator
null, //Portfolio manager
null, //Domicile code
null, //Currency code
new[] { FundSubType.TassHedgeFund }, //Sub types
IdentifierType.NONE ,
null,
IdentifierType.FundLipperId )); //Preferred identifier


//Output
foreach (var instrument in results.Take(10))
Status.WriteLine("{0}:{1} {2} ({3})", instrument.Identifier, instrument.IdentifierType, instrument.Description, instrument.InstrumentType);
Status.EndNotify(SearchContext);
}

Best regards,

Gareth

Welcome!

It looks like you're new here. Sign in or register to get started.

Best Answer

  • @gteage01,

    Hmmm, I have the impression the FundSubType filter might have an issue.

    If I do this search:

    { "SearchRequest": { "AssetStatus": null, "CurrencyCodes": null, "DomicileCodes": null, "Identifier": null, "IdentifierType": null, "FundAdministrator": null, "FundName": "Fidelity", "PortfolioManager": null, "SubTypes": null, "PreferredIdentifierType": "FundLipperId" } }

    then the 8527 results all have "SubType": "ClosedEndFund".

    But if I set:

    "SubTypes": [ "ClosedEndFund", "ExchangeTradedFund", "InsuranceFund", "InvestmentFund", "MutualFund", "PensionFund", "TassHedgeFund" ],

    or:

    "SubTypes": [ "ClosedEndFund" ],

    then I get 0 results.

    That does not seem normal, I have escalated this to the dev team.

Answers

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.