Comments (2)
huobi币币交易,需要获取account_id 方式是
$exchanges=new Exchanges('huobi',$key,$secret);
$result=$exchanges->getPlatform('spot')->account()->get();
火币的所有API都是封装了的。但是更多的接口获取只能通过
//这个方式来获取更多API
$exchanges->getPlatform('spot');
readme的事例是封装的常用几个方法,更多的需要通过上面getPlatform('spot')来实例化底层API,查看底层API
account_id 需要你缓存在你本地,因为该数据不会变,huobi 公共数据获取不需要account_id ,但是交易就需要。首次获取也不需要account_id ,
from exchanges-php.
哇,谢谢。
from exchanges-php.
Related Issues (20)
- 可以增加bybit的接口么 HOT 2
- 常驻进程和WebApi服务化 HOT 2
- 请问几时会支持 Websocket 呢? HOT 2
- Adding exchanges HOT 2
- okex V5 的 websocket 能出一个相关的使用示例吗? HOT 3
- Exchange API里是不是缺少个key_secret.php? HOT 1
- 返回的订单id经过json后会科学计数化 HOT 1
- 添加 coinex 么? HOT 6
- Huobi Account ID HOT 1
- Any chance of adding ftx.com support? HOT 2
- Hello,does your team develop golang exchanges sdk,big old ? HOT 2
- How to extend binance user class for example with sub-account api calls? HOT 2
- 发现几个小的细节问题 HOT 3
- Auto loading does not comply with psr-4 HOT 1
- 请问能添加 ZT Global 吗? HOT 1
- Could you add DYDX support? HOT 1
- new exchange
- CREX24 API HOT 3
- FATBTC API HOT 1
- Do you have any plans to implement WebSocket HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from exchanges-php.