Download the PHP package obydul/lypto-api without Composer
On this page you can find all versions of the php package obydul/lypto-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download obydul/lypto-api
More information about obydul/lypto-api
Files in obydul/lypto-api
Package lypto-api
Short Description Laravel cryptocurrency trading APIs.
License MIT
Homepage https://github.com/mdobydullah/lypto-api
Informations about the package lypto-api
Lypto API
Laravel cryptocurrency trading APIs.
Installation
Requirements
- Minimum Laravel version 7.0
Use the following command to install:
Run the following command to publish config file:
(Optional) Laravel 5.5 uses package auto-discovery, so doesn't require you to manually add the ServiceProvider. If you don't use auto-discovery,
Clear application config, cache (optional):
Installation completed.
Configuration
After installation, set API key and secret in the file.
Exchanges & Tools
Exchanges
Supported exchanges and features:
Exchange | Features |
---|---|
Binance | Spot trade only |
We will add more exchanges and APIs soon.
Tools
Indicator API list: | Name | Features |
---|---|---|
TAAPI | Provides technical analysis indicator data |
Usage
Create a Lypto request:
Pass Laypto request to exchange's function:
Binance
Take a look at Binance APIs and parameters.
Pass api key, secret & mode without .env file:
Available methods:
Test server:
Title | Method |
---|---|
Test Connectivity | ping() |
Check Server Time | time() |
Exchange Information | exchangeInfo() |
Account & Wallet:
Title | Method |
---|---|
Account Status | accountStatus() |
Get current account information | accountInfo() |
Get trading status | apiTradingStatus() |
Get overall balance | accountSnapshot() |
Spot trade:
Title | Method |
---|---|
Current price of a pair | currentPrice($request) |
Create order | createOrder($request) |
Cancel an active order | cancelOrder($request) |
Cancels all active orders on a symbol | cancelOpenOrders($request) |
Check an order's status | queryOrder($request) |
Get all open orders on a symbol | currentOpenOrders($request) |
Get all account orders; active, canceled, or filled | allOrders($request) |
Get trades for a specific account and symbol | accountTradeList($request) |
Create a new OCO | createOCO($request) |
Cancel an entire Order List | cancelOCO($request) |
Retrieves a specific OCO based on provided optional parameters | queryOCO($request) |
Retrieves all OCO based on provided optional parameters | queryAllOCO($request) |
Retrieves open OCO | queryOpenOCO($request) |
24hr Ticker Price Change Statistics | priceChange24Hr($request |
Average price of a pair (5 mins) | avgPrice($request |
TAAPI
TAAPI provides technical analysis (TA) indicator data.
Let's have a look at the uasge:
Pass api key without .env file:
Examples
Binance
TAAPI
Output: `Information
License
The MIT License (MIT). Please see license file for more information.
Others
In case of any issues, kindly create one on the Issues section.
Thank you for installing LyptoAPI :heart:.