Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

"changeRate" in All tickers method not correct #438

Open
HazNet opened this issue Jan 25, 2023 · 1 comment
Open

"changeRate" in All tickers method not correct #438

HazNet opened this issue Jan 25, 2023 · 1 comment

Comments

@HazNet
Copy link

HazNet commented Jan 25, 2023

i call method get all tickers

but the price change percentages on the Kucoin site and API does match
For example, the percentage change of
ETH in Kucoin is -4.73
But its in api is => -0.0473

stdClass Object
(
    [symbol] => ETH-USDT
    [symbolName] => ETH-USDT
    [buy] => 1544.13
    [sell] => 1544.14
    [changeRate] => -0.0473
    [changePrice] => -76.74
    [high] => 1624.4
    [low] => 1516.64
    [vol] => 47667.05987284
    [volValue] => 74508572.5261545675
    [last] => 1544.26
    [averagePrice] => 1625.59902792
    [takerFeeRate] => 0.001
    [makerFeeRate] => 0.001
    [takerCoefficient] => 1
    [makerCoefficient] => 1
)
@MulderMartin
Copy link

I assume KuCoin website / app use the same number (-0.0473) and convert it to a percentage (-4.73%) which, mathematically are exactly the same.

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

No branches or pull requests

2 participants