-
-
Notifications
You must be signed in to change notification settings - Fork 8k
feat(hyperliquid) - fetchCurrencies precision #24449
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
base: master
Are you sure you want to change the base?
Conversation
@ttodua can you update the static currencies? |
Sure, i'll update things, just wanted to get some feedback on this precision (whether there is something more behind it that I am aware of) |
…xt into hyperliquid-precision-currency
…xt into hyperliquid-precision-currency
@gaardiolor I haven't seen you ever touched this part. wdyt, any objections here? |
…xt into hyperliquid-precision-currency
@@ -3,55 +3,6 @@ | |||
"skipKeys": [], | |||
"options": {}, | |||
"methods": { | |||
"fetchCurrencies": [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
multi-endpoints can't be tested
Hi @ttodua , I think I never tested fetch_currencies. From first glance it seems that freqtrade is not using it. Now that I'm looking at it, I'm not sure what the objective is? (The ccxt manual also doesn't really mention much about fetch_currencies) According to https://discord.com/channels/1029781241702129716/1087879542049357935/1319402137129586688 , weidecimals is the smallest unit of the asset. But, of the token, on the blockchain. According to this post it's not relevant for trading, for trading szDecimals should be used: "Trading is based on szDecimals which is the smallest tradable unit" According to https://hyperliquid.gitbook.io/hyperliquid-docs/hyperliquid-improvement-proposals-hips/hip-1-native-token-standard , it's also for the token itself, not for trading. This post also mentions it in the context of launching a new token: https://discord.com/channels/1029781241702129716/1029781241702129719/1375535827290951962 So I'm not sure weidecimals is relevant for ccxt? |
Thanks for reply. the added field here ( |
@carlosmiei I think this is ready. |
use of
weiDecimals
.related docs:
https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/spot
https://hyperliquid.gitbook.io/hyperliquid-docs/hyperliquid-improvement-proposals-hips/hip-1-native-token-standard