whotrades / php-grpc
该包的最新版本(dev-master)没有可用的许可证信息。
PHP gRPC
dev-master
2019-10-09 13:57 UTC
Requires
- finam/grpc-marketdata: ^0.0.1
- finam/grpc-proto: ^0.0.1
- finam/grpc-transaq: ^0.0.1
- finam/grpc-txauth: ^0.0.1
- finam/grpc-txsecurities: ^0.0.1
- google/protobuf: ^v3.6.1
- grpc/grpc: ^1.15.0
This package is auto-updated.
Last update: 2024-09-11 07:57:21 UTC
README
##Php gRPC Php是针对企业gRPC包的封装,用于访问企业gRPC服务
实现
\PhpGrpc\TXSecurities::search($query, $lang, $limit) - 类似于https://txprd-wt.just2trade.com/securities/search?query=tsl&lang=ru服务,但grpc不支持获取所有工具
\PhpGrpc\MDStream::getQuotesByFinamId($finamId)
初始化\PhpGrpc\TXSecurities和\PhpGrpc\MDStream时,需要从Consul指定服务的主机和端口
Consul - 微服务搜索系统 - https://consul.entapp.work/ui/。访问需要ACL令牌。
目前服务部署在以下地址
dc-ny/services/prd-srhr03-txsecurities
- 10.200.128.148:35554
- 10.200.160.149:35554
tst-ft-marketdata
- msa-ftcd1-tst02:5666
本包使用以下源
- https://git.finam.ru/projects/SER/repos/grpc-proto/browse
- https://git.finam.ru/projects/SER/repos/grpc-txsecurities/browse
- https://git.finam.ru/projects/SER/repos/grpc-marketdata/browse
- https://git.finam.ru/projects/SER/repos/grpc-transaq/browse
企业gRPC包的完整列表 - https://git.finam.ru/projects/SER