All Projects → QUANTAXIS → QUANTAXIS_WEBSERVER

QUANTAXIS / QUANTAXIS_WEBSERVER

Licence: GPL-3.0 license
quantaxis_webserver

Programming Languages

python
139335 projects - #7 most used programming language
Dockerfile
14818 projects
shell
77523 projects

Labels

Projects that are alternatives of or similar to QUANTAXIS WEBSERVER

quantaxis-rs
rewrite quantaxis in rust / backtest/ trading/
Stars: ✭ 82 (+156.25%)
Mutual labels:  quantaxis
quantdata
nextgenereation data solution / 下一代数据解决方案
Stars: ✭ 23 (-28.12%)
Mutual labels:  quantaxis
qatrader-rs
qatrader 支持单机上万实盘/模拟盘账户的 高性能QATRADER
Stars: ✭ 42 (+31.25%)
Mutual labels:  quantaxis

QUANTAXIS_WEBSERVER

quantaxis_webserver

quantaxis_webserver 项目即将被关闭! 本项目将直接合并至 quantaxis2.0 主项目中

QUANTAXIS的后端基类 BASE ON TORNADO

current version: 2.0


2.0 支持了 tornado 6.1, 方便兼容 jupyterlab 3

2.0是一个不兼容更新, 删除了 1.x 的诸多 handlers, 如需使用之前的版本, 请指定版本安装 pip install quantaxis_webserver<2

-- support tornado 6.1

-- 支持 apschedule

选择直接 use template 创建 fork

自行修改你的 schedule

COMPONENTS

  • QAWebServer.basehandlers.QABaseHandler

    • 支持 get/ post 的复写
    class xxx(QABaseHander):
        def get(self):
            pass
    
        def post(self):
            pass
  • QAWebServer.basehandlers.QAWebSocketHandler websocket 基类

  • QAWebServer.schdeulehandler.QASchedulerHandler 定时任务基类

    • 本项目使用 TornadoScheduler, 基于 mongodb存储 job 信息
    • 使用 qaenv 获取 mongodb_ip, mongodb_port 如需修改地址
      • 使用 docker-compose 预制在系统变量中
      • 如未使用 docker-compose 自行修改系统环境变量
        • MONGODB ==> ip 默认 "127.0.0.1"
        • MONGODBPORT ==> port 默认 27017

    在初始化 init_scheduler 后, scheduler(Tornado Scheduler)是一个全局变量 可以直接使用(已经初始化在 start_server 函数中)

    复写QASchedulerHandler, 并放置到 handlers 句柄中

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].