-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
Seems that bid/ask prices are swapped in wex exchange #389
Comments
Hi! Good catch! Thx for your report! Will fix shortly and get back to you!
…On Tue, 24 Oct 2017 at 18:01, rubobaquero ***@***.***> wrote:
It seems that bid and ask prices are swapped in wex->fetch_ticker()
response. For example:
$wex = new \ccxt\wex();
$wex->load_markets();
print_r($wex->fetch_ticker("ETH/EUR"));
Returns a bid price (272.384) higher than the ask price (270.70566).
Array
(
[symbol] => ETH/EUR
[timestamp] => 1508856580000
[datetime] => 2017-10-24T14:49:40.000+00:00
[high] => 278.387
[low] => 246.90808
[bid] => 272.384
[ask] => 270.70566
[vwap] =>
[open] =>
[close] =>
[first] =>
[last] => 271.08476
[change] =>
[percentage] =>
[average] => 262.64754
[baseVolume] => 1707.00159
[quoteVolume] => 443983.21075
[info] => Array
(
[high] => 278.387
[low] => 246.90808
[avg] => 262.64754
[vol] => 443983.21075
[vol_cur] => 1707.00159
[last] => 271.08476
[buy] => 272.384
[sell] => 270.70566
[updated] => 1508856580
)
)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#389>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABPAdhp_krfxyq6nomVfDLChY5mW0hGgks5svfvXgaJpZM4QEk-7>
.
|
This issue is fixed as of 1.9.243+. WEX bid/asks in tickers are now set properly. Thx again! Let us know if you have any other questions or difficulties. Cheers! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems that bid and ask prices are swapped in wex->fetch_ticker() response. For example:
Returns a bid price (272.384) higher than the ask price (270.70566).
The text was updated successfully, but these errors were encountered: