Download the PHP package linwj/exchanges without Composer
On this page you can find all versions of the php package linwj/exchanges. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
All versions of exchanges with dependencies
Informations about the package exchanges
This SDK brings together the APIs of the many exchanges currently trading the most, allowing developers to focus only on the business layer. It is based on Bitmex Okex Huobi Binance and so on, and these underlying APIs are encapsulated again. Its advantages support multiple platforms at the same time, support unified parameter input and output, also support native parameter input, and simple quantitative trading to fully meet your needs. Even if you have special requirements, you can use the method getPlatform() to return the instance and call the underlying API.
Other exchanges API
Exchanges It includes all of the following exchanges and is highly recommended.
If you don't find the exchange SDK you want, you can tell me and I'll join them.
Uniform parameter return
All submitted parameters and return as long as the first character for the underlined
_ all for custom parameters.
The Buy Sell method has a waiting time of 2 seconds by default. Because the exchange is a matching transaction, the inquiry needs to wait. The default 2-second query can be turned off as：buy($data,false)
Buy and sell query uniform parameter return detail
The SDK currently only supports REST requests, and does not support Websocket for the time being. It will be added later.
Support for more request Settings More
Get Order Details
Get accounts or positions
Support for original parameters
Below is the call to the underlying API to initiate a new order instance
The following is the call to the underlying API to initiate a new order instance. There are two ways to call the underlying API.
Method 1: through $exchanges -> getplatform ()
Method 2: directly instantiate the underlying exchange. The following code is equivalent to mode 1.
linwj/bitmex Version *
linwj/okex Version *
linwj/huobi Version *
linwj/binance Version *
linwj/kucoin Version *
linwj/coinbase Version *
linwj/mxc Version *
linwj/zb Version *
linwj/bitfinex Version *
linwj/bittrex Version *
linwj/kraken Version *
linwj/gate Version *
linwj/bigone Version *
linwj/crex24 Version *
linwj/bybit Version *
linwj/coinbene Version *
linwj/bitget Version *
linwj/poloniex Version *