Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EPIC] Full backend support for ten 60-minute feeds #144

Closed
3 of 7 tasks
trentmc opened this issue Sep 6, 2023 · 4 comments
Closed
3 of 7 tasks

[EPIC] Full backend support for ten 60-minute feeds #144

trentmc opened this issue Sep 6, 2023 · 4 comments
Labels

Comments

@trentmc
Copy link
Member

trentmc commented Sep 6, 2023

Background / motivation

5-min feeds don't have enough price delta to make up for 0.1% fees. So it's hard to make $.

But 60-min feeds have 20x the volume, and therefore much greater potential to make $.

A key goal is to help our users make $ readily. Accordingly, we're promising that "for mainnet", we will have 60-min feeds.

Note: The ten feeds are BTC/USDT, ETH/USDT, ... . Do not bother with BTC/TUSD (only have that in 5-min feeds).

TODOs:

  • Get 60-min flow working for local. Includes: publish >=one 60-min contracts in barge. Update agent code / tests / READMEs as needed (publisher, trueval, trader, predictoor 1, predictoor 2, dfbuyer)
  • Get 60-min flow working for testnet
    • Publish all 60min feeds to testnet
    • Ensure agents include 60min pdr-backend#182
  • Get 60-min flow working for mainnet

Note: FE issue for 60-min feeds is: pdr-web#161

@trizin
Copy link
Contributor

trizin commented Sep 6, 2023

No modifications should be needed for trueval, dfbuyer and trader agents

@idiom-bytes
Copy link
Member

idiom-bytes commented Sep 20, 2023

Problem

I'm currently discussing the need for us (FE team) to maintain testing and building inside dev environment rather than relying on testnet. We just shipped 1hr contracts that broke that FE.

Candidate Solutions

  1. Perhaps we should add another publish() call inside pdr-publisher.main.py that deploy a 1h interval contract?
  2. Or perhaps a separate main/bootstrap that runs a "bootstrap_latest" that contains all requirements for the 60m release (and future/latest releases).

Notes

  • I believe we should be validating everything is working internally, in this "full bootstrap sim" logic sequence, so we can validate the stack + product (UI) is working e2e.

@trizin
Copy link
Contributor

trizin commented Sep 20, 2023

@idiom-bytes We have a barge deployment but it's out of date, I can update it.

We just shipped 1hr contracts that broke that FE.

Didn't the Vercel preview catch this issue?

@trentmc
Copy link
Member Author

trentmc commented Sep 29, 2023

This issue is partly complete.

All the remaining tasks have their own issue, and are tracked in the "MVP" epic pdr-backend#50.

Therefore we can close this issue.

@trentmc trentmc closed this as completed Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants