Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

feat(finance): Chainlink Data Feeds as verifiable price inputs

Aberta
#25 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
35/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
python

Direção de pesquisa

Start by reading application/real_options_pricing.py, risk_engine.py, and financial_portfolio.py, then inspect the registry's EVM adapter and issue #4 for the proposed oracle_refs format. Verify which Chainlink feeds are available on the target testnets, including Robinhood Chain. The work is complete when feed sourced runs record their round inputs, stale or missing feeds fail clearly, and recorded inputs reproduce the same result.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

chain-integration enhancement finance tier-2

Summary

Use Chainlink Data Feeds as an optional price source for options pricing, risk and portfolio analysis, and record the feed round ids in the provenance bundle so results are reproducible.

Motivation

Today market inputs come from files or a data-library download. On-chain feeds give verifiable, timestamped inputs and pair naturally with provenance.

Current state in this repo

  • application/real_options_pricing.py, risk_engine.py and financial_portfolio.py take price/vol inputs from request payloads or data files; yfinance is a dependency.

Proposal

  • A price-source interface with implementations: user-supplied, file, and Chainlink feed (read via the registry's EVM adapter).
  • Staleness and deviation checks (reject stale rounds, record decimals).
  • Store {feed, round_id, value, observed_at} in oracle_refs (#4).
  • Frontend: a 'use live feed' option for supported pairs on the options and risk forms.

Acceptance criteria

  • Options pricing run with a feed records the exact round used.
  • Stale or missing feeds fail with a clear message and never silently fall back.
  • Reproducing a run from its recorded inputs gives the same result.

Out of scope

  • Running our own oracle nodes.

Dependencies

  • #2
  • #4

Verify before implementing

  • Which feeds exist on the chosen testnets, including Robinhood Chain.

References


Part of ##1. Ground rules for all issues in this roadmap are listed there (testnet-first, no secrets in the repo, chain logic behind the registry, tests and docs with every PR).

Linguagem predominante
Python
Estrelas
2
Forks
4
Merge médio
6h 14min
PRs com merge (30d)
18

Preparar o ambiente

  • Inclui um Dockerfile ou arquivo Docker Compose
  • Sem modelo de pull request
  • Sem guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de QMeshPy/distributed-quantum

Todas as issues de QMeshPy/distributed-quantum

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.