Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Analysis
Since similar crypto-related formulas on the market mainly involve pulling encrypted data, they usually require requesting an API. CoinGecko, Binance, Coinbase, and others all have APIs with similar functionality. Users may need to switch between these API addresses and API keys in the Univer to use them. For example, the crypto price query API provides a formula =CRYPTO.PRICE. Internally, it retrieves different data structures based on different API addresses, then performs a transformation layer to convert them into a unified data structure for the formula's result.
Task
Functions List
Reference
https://docs.coingecko.com/v3.0.1/reference/simple-price
https://developers.binance.com/docs/binance-spot-api-docs/faqs/market_data_only
Pull Request Checklist