huobiapi / rest-php-demo Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
您好,咱一看到您写的示例,应该是未经测试的!!!!
所有POST请求的接口, $postdata 应该写在 $this->curl($url, $postdata); 而不是在签名方法!!!!!
提示从可能出现的错误
我使用你的例子,把所有的键允许访问,但是当你运行查询得到一个响应。
{"status":"error","err-code":"account-get-balance-account-inexistent-error","err-msg":"account for id
55,477,925
and user id5,547,792
is not exist","data":null}
如何理解这个问题?
Hello!
I wrote a small simple trading robot, using your code and modifying it a bit.
For example. The place_order() function returns only the order id, but this is not enough. Therefore, I will immediately use the two functions place_order() and get_order_matchresults() and store the data in the database.
So, my question is this.
Sometimes it happens that place_order() is executed, that is, the order is actually created on the exchange, but get_order_matchresults() immediately returns a "record invalid", "base-record-invalid" error.
What does this error "record invalid", "base-record-invalid" mean?
And why does the error return if an order is actually created on the exchange?
Thank!
private $api = 'api.huobi.pro';<?php
是什么鬼
订阅需要账号和key吗
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.