wss-group/bybitapi
最新稳定版本:5.0.0-beta.7
Composer 安装命令:
composer require wss-group/bybitapi
包简介
A PHP package that implement Bybit API
README 文档
README
A PHP package that implement Bybit API (Current implementation v5)
Installation
You can install the package via composer:
composer require wss-group/bybitapi
You can publish the config file with:
php artisan vendor:publish --tag="bybit-api-config"
This is the contents of the published config file:
return [
];
Work Progress
Please see PROGRESS for more information about current implementation progress.
Usage
// Account group \BybitApi\Facades\Account::actingAs($entity)->getCollateralInfo('BTC'); // Asset group \BybitApi\Facades\Asset::actingAs($entity)->getSubUID(); // Market group \BybitApi\Facades\Market::actingAs($entity)->getBybitServerTime(); // Position group \BybitApi\Facades\Position::actingAs($entity)->confirmNewRiskLimit(\BybitApi\Enums\Category::INVERSE, 'BTCUSDT'); // Trade group \BybitApi\Facades\Trade::actingAs($entity)->cancelAllOrders(\BybitApi\Enums\Category::INVERSE); // Trade group \BybitApi\Facades\User::actingAs($entity)->getApiKeyInformation();
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 42
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-01-23