核心功能: - Socket长连接通信架构,性能提升13倍 - 完整的股票数据处理模块,支持xtquant数据源 - MySQL数据库集成,使用Peewee ORM - 网格交易策略实现 - 多客户端并发支持 项目结构: - src/data_process_model/ - 数据处理核心模块 - src/network_model/ - Socket和HTTP通信实现 - src/strategy/ - 交易策略模块 - example_and_demos/ - 示例和演示代码 - test/ - 测试文件 主要特性: - 支持CSV和MySQL双重数据存储 - 自动数据下载和处理流水线 - 实时Socket通信,毫秒级响应 - 完善的错误处理和日志记录 - 模块化设计,易于扩展 性能指标: - 平均延迟: 0.31ms (HTTP: 4.13ms) - 理论QPS: 3242 (HTTP: 242) - 支持50个并发客户端连接
22 lines
1.0 KiB
Plaintext
22 lines
1.0 KiB
Plaintext
MIT License
|
|
|
|
Copyright (c) 2025 Zhao hai feng
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
in the Software without restriction, including without limitation the rights
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be included in all
|
|
copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
SOFTWARE.
|