Open Oracle Framework
  • Introduction
  • Subscription Based Models
  • Data Feeds for Historical Tracking
  • Oracle Spreadsheet Management and Creation
  • Oracle Creation
  • Front End
  • Oracle Management
  • Time Weighted Average Price using OOF
  • Feed Requests
  • Permissionless Data Requests and Data Providers
  • Scry NFTs and Licenses
    • Scry NFT Token
    • Licensing and Perks
    • Purchasing a License
  • SMART CONTRACTS
    • Solidity Contracts and Interface
    • OpenOracleFramework.sol
    • OOFFactory.sol
    • Deployments
  • Links
    • Links
Powered by GitBook
On this page

Was this helpful?

Data Feeds for Historical Tracking

OOF also supports tools for retrieving historical data, each feed has a timeslot (a value which indicates how often to update the feed and how long an update will be valid for submits) which saves the price at a given time. If the timeslot has a price that was submitted during that timeslot, then that will be returned by the contract when the user calls

historicalFeeds(uint256[] feedIDs, uint256[] timestamps)

This allows users to simply input a timestamp without needing to worry about which timeslot it relates to and can get a historical value for that feed at that time, for the history of the whole feeds lifespan. This allows for analytics as well as TWAP construction around these feeds.

PreviousSubscription Based ModelsNextOracle Spreadsheet Management and Creation

Last updated 3 years ago

Was this helpful?