8000 feat(base): fetchCurrencies > safeCurrencyStructures by ttodua · Pull Request #26017 · ccxt/ccxt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat(base): fetchCurrencies > safeCurrencyStructures #26017

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ttodua
Copy link
Member
@ttodua ttodua commented May 20, 2025

this is needed for those exchanges where currencies have separate entries in response, like:

[
    {c: "USDT-ETH", ...},
    {c: "USDT-BSC", ...}
]

at first, all raw entries should be parsed normally, and when primary loop ends, only after that (bcz at that moment, all entries are finally filled in each currency) another loop is needed so each currency goes through safeCurrencyStructure

@ttodua ttodua marked this pull request as ready for review May 20, 2025 11:30
@ttodua
Copy link
Member Author
ttodua commented May 20, 2025

@carlosmiei once you have a time, please start reviewing with this PR

@ttodua
Copy link
Member Author
ttodua commented May 26, 2025

@carlosmiei This PR was ready, had unrelated issues

@ttodua ttodua changed the title feat(base): added safeCurrencyStructures feat(base): fetchCurrencies > safeCurrencyStructures May 26, 2025
@ttodua ttodua marked this pull request as draft June 19, 2025 19:57
@ttodua ttodua marked this pull request as ready for review June 20, 2025 09:31
@ttodua
Copy link
Member Author
ttodua commented Jun 20, 2025

@carlosmiei

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0