Download the PHP package tigusigalpa/zoomex-php without Composer

On this page you can find all versions of the php package tigusigalpa/zoomex-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package zoomex-php

Zoomex PHP Client

Also available: Zoomex Go Client

Zoomex PHP/Laravel SDK/Library

Latest Version on Packagist PHP Version License

PHP/Laravel SDK for Zoomex crypto exchange API v3. Works with REST and WebSocket — market data, trading, positions, account, assets.

📖 Full Documentation on Wiki

What's inside

Requirements

Installation

Setup

Laravel

.env:

Standalone PHP

Quick examples

Get tickers

Place order

Get positions

Get wallet balance

WebSocket — orderbook stream

WebSocket — private order updates

API Reference

Market (public)

Method Endpoint Description
getServerTime() /cloud/trade/v3/market/time Get server time
getKline() /cloud/trade/v3/market/kline Get kline data
getMarkPriceKline() /cloud/trade/v3/market/mark-price-kline Get mark price kline
getIndexPriceKline() /cloud/trade/v3/market/index-price-kline Get index price kline
getPremiumIndexPriceKline() /cloud/trade/v3/market/premium-index-price-kline Get premium index price kline
getInstrumentsInfo() /cloud/trade/v3/market/instruments-info Get instruments info
getOrderbook() /cloud/trade/v3/market/orderbook Get orderbook
getTickers() /cloud/trade/v3/market/tickers Get tickers
getFundingRateHistory() /cloud/trade/v3/market/funding/history Get funding rate history
getPublicTradingHistory() /cloud/trade/v3/market/recent-trade Get public trading history
getRiskLimit() /cloud/trade/v3/market/risk-limit/info Get risk limit

Trade (private)

Method Endpoint Description
placeOrder() /cloud/trade/v3/order/create Place order
amendOrder() /cloud/trade/v3/order/amend Amend order
cancelOrder() /cloud/trade/v3/order/cancel Cancel order
getOpenOrders() /cloud/trade/v3/order/realtime Get open orders
cancelAllOrders() /cloud/trade/v3/order/cancel-all Cancel all orders
getOrderHistory() /cloud/trade/v3/order/history Get order history
getTradeHistory() /cloud/trade/v3/execution/list Get trade history

Position (private)

Method Endpoint Description
getPositionInfo() /cloud/trade/v3/position/list Get position info
setLeverage() /cloud/trade/v3/position/set-leverage Set leverage
switchIsolated() /cloud/trade/v3/position/switch-isolated Switch cross/isolated margin
setTpSlMode() /cloud/trade/v3/position/set-tpsl-mode Set TP/SL mode
switchPositionMode() /cloud/trade/v3/position/switch-mode Switch position mode
setRiskLimit() /cloud/trade/v3/position/set-risk-limit Confirm new risk limit
setTradingStop() /cloud/trade/v3/position/trading-stop Set trading stop
setAutoAddMargin() /cloud/trade/v3/position/set-auto-add-margin Set auto add margin
addOrReduceMargin() /cloud/trade/v3/position/add-margin Add or reduce margin
getClosedPnl() /cloud/trade/v3/position/closed-pnl Get closed PnL

Account (private)

Method Endpoint Description
getWalletBalance() /cloud/trade/v3/account/wallet-balance Get wallet balance
getFeeRate() /cloud/trade/v3/account/fee-rate Get fee rate
getAccountInfo() /cloud/trade/v3/account/info Get account info

Asset (private)

Method Endpoint Description
getCoinExchangeRecords() /cloud/trade/v3/asset/coin-exchange-record Get coin exchange records
getDeliveryRecord() /cloud/trade/v3/asset/delivery-record Get delivery record
getSettlementRecord() /cloud/trade/v3/asset/settlement-record Get settlement record
getAssetInfo() /cloud/trade/v3/asset/info Get asset info
getAllCoinsBalance() /cloud/trade/v3/asset/all-coins-balance Get all coins balance
getInternalTransferRecords() /cloud/trade/v3/asset/transfer/query-inter-transfer-list Get internal transfer records
getSubUIDList() /cloud/trade/v3/asset/transfer/query-sub-member-list Get sub UID list
createInternalTransfer() /cloud/trade/v3/asset/transfer/inter-transfer Create internal transfer
getDepositRecords() /cloud/trade/v3/asset/deposit/query-record Get deposit records
getWithdrawalRecords() /cloud/trade/v3/asset/withdraw/query-record Get withdrawal records
getCoinInfo() /cloud/trade/v3/asset/coin/query-info Get coin info
withdraw() /cloud/trade/v3/asset/withdraw/create Withdraw
cancelWithdrawal() /cloud/trade/v3/asset/withdraw/cancel Cancel withdrawal

WebSocket Topics

Channel Type Topic Pattern Description
Public orderbook.{depth}.{symbol} Orderbook (depth: 1, 50, 200, 1000)
Public publicTrade.{symbol} Public trades
Public tickers.{symbol} Ticker
Public kline.{interval}.{symbol} Kline
Public liquidation.{symbol} All liquidation
Private order Order updates
Private position Position updates
Private execution Execution updates
Private wallet Wallet updates

Errors

Two exception types:

Rate limits

See official docs.

Testing

Contributing

See CONTRIBUTING.md.

Security

Found a vulnerability? Email [email protected] (don't open public issues).

Author

Igor Sazonov

Based on zoomex-go.

License

MIT. See LICENSE.

Links


All versions of zoomex-php with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^9.0|^10.0|^11.0|^12.0|^13.0
guzzlehttp/guzzle Version ^7.0
ratchet/pawl Version ^0.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package tigusigalpa/zoomex-php contains the following files

Loading the files please wait ...