How to configure FID search option for TickHistoryRaw Requests in .NET API?
Hi all,
In a TickHistoryRaw Request sent via the .NET API, is it possible to configure the FID search option below? (default value is "AND" and I would like to change it to "OR")
There has been a similar question asked previously and the answer suggests it is possible, however, in the .NET API, the class TickHistoryRawCondition does not seem to have "FidListOperator" as a field or anything similar that would allow me to change that option.
Kind Regards
Best Answer
-
I see it on TickHistoryRawCondition
public FidListOperators FidListOperator { get; set; }
However, I see that you do not see it on your side.
Could you please download the latest version of .Net DSS REST Examples app from Downloads?
I just did a quick modification in my .Net example:
Condition = new TickHistoryRawCondition()
{
DaysAgo = null,
MessageTimeStampIn = TickHistoryTimeOptions.GmtUtc,
QueryEndDate = DateTime.UtcNow,
QueryStartDate = DateTime.UtcNow - TimeSpan.FromDays(10),
ReportDateRangeType = ReportDateRangeType.Range,
ExtractBy = TickHistoryExtractByMode.Ric,
SortBy = TickHistorySort.SingleByRic,
DomainCode = TickHistoryRawDomain.MarketPrice,
DisplaySourceRIC = false,
Fids = "25,6",
FidListOperator = FidListOperators.OR
}It worked as expected for me
0
Answers
-
Hello @vlad_deprecated_0,
I understand the question is how to submit a selected fid list into TickHistoryRaw request.
In DSS API Examples, Create:TickHistoryRaw, I see an example how to submit fids:
var extractionRequest = new TickHistoryRawExtractionRequest()
{
IdentifierList = new InstrumentIdentifierList()
{
InstrumentIdentifiers = new[]
{
// Notice the time ranges specified with the instruments
new HistoricalInstrumentIdentifier { Identifier = "IBM.N", IdentifierType = IdentifierType.Ric, RangeStart = timeRange1Start, RangeEnd = timeRange1End },
new HistoricalInstrumentIdentifier { Identifier = "KO.N", IdentifierType = IdentifierType.Ric, RangeStart = timeRange2Start, RangeEnd = timeRange2End }
}
},
Condition = new TickHistoryRawCondition()
{
DaysAgo = null,
MessageTimeStampIn = TickHistoryTimeOptions.GmtUtc,
QueryEndDate = null, // Note that since the time ranges are specified in the list, there is no range specified in the condition.
QueryStartDate = null,
ReportDateRangeType = ReportDateRangeType.PerIdentifier,
ExtractBy = TickHistoryExtractByMode.Ric,
SortBy = TickHistorySort.SingleByRic,
DomainCode = TickHistoryRawDomain.MarketPrice,
DisplaySourceRIC = false,
Fids = "25"
}
};This list can be comma-delimited as per other discussion thread you mention:
"Fids": "275,393,875,1010"
In DSS API Reference Tree I also see FidListOperator defined as either AND or OR.
0 -
Thank you for your answer. My request looks very similar to the example you attached:
where "fids" is a string of comma-delimited values, as you suggested. This works fine.
However, the request uses the default value of "FidListOperator", which is "AND". I would like to change this to "OR" in my request, and although it does exist in the API reference tree you pointed me to, "FidListOperator" is not available as a public field in TickHistoryRawCondition:
Therefore, I cannot change it. My question was whether it is possible for me to change the "FidListOperator" in my request.
Kind Regards
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 689 Datastream
- 1.4K DSS
- 625 Eikon COM
- 5.2K Eikon Data APIs
- 11 Electronic Trading
- 1 Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 255 ETA
- 558 WebSocket API
- 39 FX Venues
- 15 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 277 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 23 RDMS
- 1.9K Refinitiv Data Platform
- 695 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 106 UPA
- 194 TREP Infrastructure
- 229 TRKD
- 918 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 93 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛