# quant4j **Repository Path**: quanter-net/quant4j ## Basic Information - **Project Name**: quant4j - **Description**: 杜高斯贝JForex量化程序 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 2 - **Created**: 2020-10-05 - **Last Updated**: 2023-09-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 美股外汇量化程序 ### 作者 @ [Harley-dog](https://harley-dog.cn) ---- ## 项目介绍 本项目是一个做外汇和美股的Java程序 外汇部分是基于 [杜高斯贝JForex Platform平台](https://www.dukascopy.com) 美股股份是基于 [盈透TWS平台](https://www.interactivebrokers.com.hk/cn/home.php) 后台部分基于标准的全注解无配置文件版SpringBoot+SpringDataJpa开发,https方式访问 > 杜高斯贝Dukascopy: 瑞士银行牌照外汇券商,主做外汇交易,交易产品里包含部分美股和比特币 > 盈透证券:全球最大交易券商,总部在美国业务覆盖全球股票,外汇,期货,期权等主流交易产品 ## 项目结构 - quant4j-sdk : 包含了项目中的基础类,utils包,枚举类等公共资源 - quant4j-api : 对外API业务接口,多个工程之间共享使用 - quant4j-service : 后台管理web程序,springboot方式启动 - quant4j-task : 任务程序,包含计算任务和定时任务,springboot方式启动 - quant4j-jforex-sdk : 封装了jforex平台的基础父类和公共调用方法(jar调用) - quant4j-jforex : jforex策略和指标,依赖quant4j-jforex-sdk(生成jpl) - quant4j-tws : TWS服务程序,包含了tws的策略和对外访问接口,以springboot方式启动 - quant4j-web : 包含web页面的静态资源 ## 部署结构 ![部署结构](https://service.skyquant.cn/images/project.jpg) ## 本地安装和启动 ```sh $ git clone https://git.dev.tencent.com/harley-dog/quant4j.git $ cd quant4j $ mvn install ``` ## 参考 - [SpringBoot](https://spring.io) - [JForex Platform](https://www.dukascopy.com/swiss/chinese/forex/dealstation/?c1#JForex) - [TWS API](https://www.interactivebrokers.com.hk/cn/index.php?f=5234)