Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

现货v3获取指定交易对价格有问题,会返回所有交易对价格 #8

Open
hcl109080 opened this issue Feb 22, 2024 · 2 comments

Comments

@hcl109080
Copy link

hcl109080 commented Feb 22, 2024

比如下面这个

try {
    $result=$mexc->publics()->getTickerPrice([
            'symbol'=>'BTCUSDT'
        ]);
    print_r($result);
}catch (\Exception $e){
    print_r($e->getMessage());
}

会返回所有交易对价格数据,看了应该是Request.php里面代码有问题

@zhouaini528
Copy link
Owner

比如下面这个

try {
    $result=$mexc->publics()->getTickerPrice([
            'symbol'=>'BTCUSDT'
        ]);
    print_r($result);
}catch (\Exception $e){
    print_r($e->getMessage());
}

会返回所有交易对价格数据,看了应该是Request.php里面代码有问题

已经修复了,你composer update 更一下包

@hcl109080
Copy link
Author

ok

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants