- Introduction
- Concepts and Design
-
CONFIGURATION
-
SESSION LAYER
- About the Session Layer
-
Session
-
session.Definition
- Definition
-
Definition methods
-
session.desktop.Definition
- Definition
-
Definition methods
-
session.platform.Definition
- Definition
-
Definition methods
-
Functions
- Callback functions
- Session event codes
- Session states
-
ACCESS LAYER
- About the Access Layer
- Configuration
-
Dates and calendars
-
News
-
Functions
- open_session
- close_session
- get_data
- get_history
-
open_pricing_stream
- open_pricing_stream
- PricingStream
- PricingRecorder
-
PricingStream methods
-
PricingRecorder methods
-
CONTENT LAYER
- About the Content Layer
-
Fundamental and Reference
- About Fundamental And Reference
-
Definition
- Definition
-
Definition methods
- RowHeaders
-
Historical Pricing
- About Historical Pricing
-
Events
- About Events
- Definition
-
Definition methods
-
Summaries
- About Summaries
- Definition
-
Definition methods
- Historical pricing event types
- Historical pricing adjustments
- Historical pricing market session
-
News
- About news
-
News headlines
- About news headlines
- Definition
-
Definition methods
- Response
-
News stories
- About news stories
- Definition
-
Definition methods
- Response
-
Top news
- About top news
- Definition
-
Definition methods
- Response
-
hierarchy
- Definition
- TopNewsId
-
Definition methods
-
Online reports
- About online reports
- Definition
-
Definition methods
- Response
-
hierarchy
- Definition
-
Definition methods
-
Images
- About images
- Definition
-
Definition methods
- Response
- News SortOrder
-
Pricing
- About pricing
- Definition
-
Definition methods
-
pricing stream methods
-
pricing.chain
- About pricing.chain
- Definition
-
Definition methods
- Pricing stream states
-
IPA FinancialContracts
- About financial contracts
- Definition
-
Bond
- About bond
- Definition
-
Definition methods
-
Interfaces & Enumerations
- PricingParameters
- RoundingParameters
- BenchmarkYieldSelectionMode
- BusinessDayConvention
- DayCountBasis
- AdjustInterestToPaymentDate
- AmortizationFrequency
- AmortizationItem
- AmortizationType
- Direction
- Frequency
- IndexCompoundingMethod
- InterestType
- StubRule
- PaymentRollConvention
- PriceSide
- ProjectedIndexCalculationMethod
- RedemptionDateType
- Rounding
- RoundingType
- YieldType
- QuoteFallbackLogic
- CreditSpreadType
- DividendType
- VolatilityTermStructureType
- VolatilityType
-
Cap Floor
- About cap_floor
- Definition
-
Definition methods
-
Interfaces & Enumerations
-
CDS
- About cds
- Definition
-
Definition methods
-
Interfaces & Enumerations
-
Fx Cross
- About FX Cross
- Definition
-
Definition methods
-
Interfaces & Enumerations
-
IR Swap
- About Swap
- Definition
-
Definition methods
-
Interfaces & Enumerations
-
Option
- About option
- Definition
-
Definition methods
-
Interfaces & Enumerations
-
Repo
- About repo
- Definition
-
Definition methods
-
Interfaces & Enumerations
-
Swaption
- About swaption
- Definition
-
Definition methods
-
Interfaces & Enumerations
-
Term Deposit
- About term deposit
- termDeposit.Definition
-
Definition methods
-
Interfaces & Enumerations
- Response
-
IPA Curves
- About curves
-
Forward Curves
-
ZcCurves
-
IPA Surfaces
- About Surface
-
Cap
- About cap
- Definition
-
Definition methods
-
Interfaces & Enumerations
-
Eti
-
Fx
- About fx
- Definition
-
Interfaces & Enumerations
-
Swaption
- Definitions
-
Interfaces & Enumerations
- Response
-
Search
- About search
- Definition
-
Definition methods
-
SearchViews
-
SymbolConversion
- About SymbolConversion
- Definition
-
Definition methods
-
Interfaces & Enumerations
-
Estimates
- About Estimates
-
Estimates actual values for reported annual periods
- Definition
-
Definition methods
-
Estimates actual values for reported interim periods
- Definition
-
Definition methods
-
Estimates actual values for KPI Measures for reported annual periods
- Definition
-
Definition methods
-
Estimates actual values for KPI Measures for reported interim periods
- Definition
-
Definition methods
-
Annual estimates summary data for periodic estimates measures
- Definition
-
Definition methods
-
Interim estimates summary data for periodic estimates measures
- Definition
-
Definition methods
-
Estimates monthly historical snapshot value for last 12 months for all annual period estimates measures
- Definition
-
Definition methods
-
Estimates monthly historical snapshot value for last 12 months for all interim period estimates measures
- Definition
-
Definition methods
-
Estimates monthly historical snapshot value for non-periodic estimates measures for the last 12 months
- Definition
-
Definition methods
-
Estimates monthly historical snapshot value for recommendations for the last 12 months
- Definition
-
Definition methods
-
Estimates summary values for KPI measures for annual periods
- Definition
-
Definition methods
-
Estimates summary values for KPI measures for interim periods
- Definition
-
Definition methods
-
Estimates monthly historical snapshot value for all KPI measures for the last 12 months
- Definition
-
Definition methods
-
ESG
- About ESG
-
Definition
- Definition
-
Definition methods
-
full_scores
- Definition
-
Definition methods
-
basic_overview
- Definition
-
Definition methods
-
standard_measures
- Definition
-
esg.standard_measures.Definition methods
-
standard_scores
- Definition
-
Definition methods
-
universe
- Definition
-
Definition methods
-
bulk
- Definition
-
Definition methods
-
PackageManager
- PackageManager
-
PackageManager methods
-
Custom Instruments
- About Custom Instruments
- Definition
-
Definition methods
-
Events
- Definition
-
Definition methods
-
Summaries
- Definition
-
Definition methods
-
Manage methods
- Response
-
DELIVERY LAYER
- About the Delivery Layer
-
Endpoint request
- About endpoint_request
- Definition
-
Definition methods
-
Interfaces & Enumerations
-
OMM stream
- About OMM stream
- Definition
-
Definition methods
-
RDP stream
- About RDP stream
- Definition
-
Definition methods
-
CFS
- About CFS
-
CFS buckets
- About CFS buckets
- Definition
-
Definition methods
-
CFS packages
- About CFS packages
- Definition
-
Definition methods
- Response
-
CFS files
- About CFS files
- Definition
-
Definition methods
- Response
-
CFS file-sets
- About CFS file_sets
- Definition
-
Definition methods
- Response
-
CFS file downloader
- About CFS file downloader
- Definition
-
Definition methods
get_data
The get_data function sends a request to the Client File Store (CFS) to retrieve the file packages described in the cfs.packages.Definition object.
Module
lseg.data.delivery.cfs.packages
Syntax
get_data(session)
Parameters
| Value | Description | Data type | Optional | Default value |
|---|---|---|---|---|
| session | Session object. If it's not passed the default session will be used. | Session object | Yes | None |
Returned value
Usage
The following example demonstrates how to retrieve a package named "VDB", with the "core" type, from the "TICKHISTORY_VBD_LIMITED" bucket.
Where only the 10th page that contains 10 items will be retrieved.
response = cfs.packages.Definition(
package_name="VBD",
package_type="core",
bucket_name="TICKHISTORY_VBD_LIMITED",
page=10,
page_size=10,
).get_data()
print(response.data.df.to_string())
This example produces the following output:
Response
created contactEmail packageName packageType description modified packageId bucketNames
0 2020-08-29T16:16:54Z kraken@refinitiv.com VBD_MEX_SYM_5Y core Package for venue MEX with view sym and depth of 5Y 2020-11-23T06:01:11Z 4020-6002-8a707342-be53-88aa6c7e0537 [TICKHISTORY_VBD_LIMITED]
1 2020-08-29T15:08:24Z kraken@refinitiv.com VBD_BRU_REF_DATA_CUSIP_GICS_5Y core Package for venue BRU with view ref-data-cusip-gics and depth of 5Y 2020-11-23T04:15:58Z 4020-ccb5-5e51d1af-bd94-bc99948046d2 [TICKHISTORY_VBD_LIMITED]
2 2020-08-29T15:49:47Z kraken@refinitiv.com VBD_CHE_RAW_MP_5Y core Package for venue CHE with view rawMP and depth of 5Y 2021-11-01T09:55:48Z 4020-df87-9c64817a-9c67-efddebffbf4d [TICKHISTORY_VBD_LIMITED]
3 2021-12-05T04:10:03Z kraken@refinitiv.com VBD_PTX_NORMALISED_MBO_5Y core Package for venue PTX with view normalisedMBO and depth of 5Y 2021-12-05T04:10:03Z 4021-71c8-0b7bb5f8-9d8a-37b8e6be645f [TICKHISTORY_VBD_LIMITED]
4 2020-08-29T16:52:56Z kraken@refinitiv.com VBD_DMX_SYM_CUSIP_SEDOL_GICS_5Y core Package for venue DMX with view sym-cusip-sedol-gics and depth of 5Y 2020-11-23T06:51:39Z 4021-791d-6acc1987-9802-1ac35bf99d10 [TICKHISTORY_VBD_LIMITED]
5 2020-08-29T16:42:08Z kraken@refinitiv.com VBD_SCZ_REF_INIT_SEDOL_5Y core Package for venue SCZ with view ref-init-sedol and depth of 5Y 2020-11-23T06:36:03Z 4022-4ea0-7a90068e-a137-5b833c9d87d3 [TICKHISTORY_VBD_LIMITED]
6 2020-08-29T16:54:04Z kraken@refinitiv.com VBD_TBE_SYM_GICS_5Y core Package for venue TBE with view sym-gics and depth of 5Y 2020-11-23T06:53:20Z 4022-99ba-13b70471-acf4-a75383927f01 [TICKHISTORY_VBD_LIMITED]
7 2020-08-29T15:47:22Z kraken@refinitiv.com VBD_TWA_TREU_SYM_SEDOL_GICS_5Y core Package for venue TWA_TREU with view sym-sedol-gics and depth of 5Y 2020-11-23T05:15:54Z 4022-f047-35cea0f8-9254-f14f034959bf [TICKHISTORY_VBD_LIMITED]
8 2020-08-29T15:48:26Z kraken@refinitiv.com VBD_BCU_REF_INIT_CUSIP_SEDOL_5Y core Package for venue BCU with view ref-init-cusip-sedol and depth of 5Y 2020-11-23T05:17:33Z 4023-67b0-e62e5d64-a88f-1db47a9f8a85 [TICKHISTORY_VBD_LIMITED]
9 2020-08-29T17:07:56Z kraken@refinitiv.com VBD_TAI_REF_DATA_CUSIP_GICS_5Y core Package for venue TAI with view ref-data-cusip-gics and depth of 5Y 2020-11-23T07:14:10Z 4024-2b55-8e247668-b1db-1e6994e2d0bd [TICKHISTORY_VBD_LIMITED]
Related links
None.