mmaurice / tinkoff-invest-api
Тинкофф Инвестиции API 库
0.1.0
2020-11-30 21:46 UTC
Requires
- php: >=5.6
- mmaurice/apigate: ^0.1.0
This package is auto-updated.
Last update: 2024-09-29 05:56:11 UTC
README
用于操作Тинькофф Инвестиции API的PHP工具。该项目基于ApiGate框架。请求和响应符合官方文档中指定的模式。
实现的方法
sandbox
/sandbox/register
/sandbox/currencies/balance
/sandbox/positions/balance
/sandbox/remove
/sandbox/clear
orders
portfolio
市场
/market/stocks
/market/bonds
/market/etfs
/market/currencies
/market/orderbook
/market/candles
/market/search/by-figi
/market/search/by-ticker
操作
用户
安装
安装通过Composer进行
composer require mmaurice/tinkoff-invest-api
代码示例
在/example
目录中提供了代码示例。要使用此库,需要为sandbox(在/example/configs/SandboxConfig
中)和production(在/example/configs/Config
中)环境指定自己的token,并且需要先完成授权过程。