Skip to article frontmatterSkip to article content

Data Feed

What is a Data Feed?ΒΆ

In pfeed, data feeds are objects that serve as high-level interfaces designed for straightforwrad interaction with the data sources. The object feed in the following setup code snippet is an example of a data feed object:

feed = pe.BybitFeed()

To print out the supported data feeds in pfeed, you can use the following code snippet:

from pfeed.const.common import SUPPORTED_DATA_FEEDS
from pprint import pprint

pprint(SUPPORTED_DATA_FEEDS)