Skip to content

Commit

Permalink
1) poetry install 2) 2020-present
Browse files Browse the repository at this point in the history
  • Loading branch information
yssource committed Feb 23, 2022
1 parent cc343ce commit adcabb3
Show file tree
Hide file tree
Showing 42 changed files with 46 additions and 46 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2020-2026 Jimmy M. Gong
Copyright (c) 2020-present Jimmy M. Gong
All rights reserved.

除非遵守当前许可,否则不得使用本软件。
Expand Down
10 changes: 5 additions & 5 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ abquant 分为三大模块 a) 数据获取 b) 策略回测 c) 模拟/实盘交
* 构建
作者本人是在 x86_64 Linux 4.19.105-1-MANJARO 上构建本项目,暂时不支持
Windows. \\
你需要安装好 clang++/llvm ccache ninja python pip conan cmake/qmake 等基础开发工具
你需要安装好 clang++/llvm ccache ninja python pip poetry conan cmake/qmake 等基础开发工具
- 核心模块 cpp
- 中间层 binding ([[https://github.com/pybind/pybind11.git][pybind11]] [[https://doc.qt.io/qtforpython/shiboken2/][ +shiboken2+ ]])
- 用户接口层 python
Expand Down Expand Up @@ -65,12 +65,12 @@ abquant 分为三大模块 a) 数据获取 b) 策略回测 c) 模拟/实盘交
conan build ..

# todo:: qbuild, cbuild 将来会直接放在 setup.py 中作为 ext_modules 完成。
# 用户只需 pip install -e .
# 用户只需 poetry install
#+end_src
** python 依赖安装
#+begin_src python :exports code
pip install -r requirements-dev.txt
pip install -e .
poetry install
poetry update
#+end_src
** 环境变量
请参照 .envrc 文件, 推荐使用 direnv 管理环境变量
Expand Down Expand Up @@ -311,7 +311,7 @@ abquant 分为三大模块 a) 数据获取 b) 策略回测 c) 模拟/实盘交
|------------------------------------+------------------------------------|
| [[file:./screenshot/jimmy.wechat.png]] | [[file:./screenshot/jimmy.alipay.png]] |
* LICENSE
Copyright (c) 2020-2026 Jimmy M. Gong \\
Copyright (c) 2020-present Jimmy M. Gong \\
All rights reserved.

除非遵守当前许可,否则不得使用本软件。
Expand Down
2 changes: 1 addition & 1 deletion cxx/src/actions/abquant.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/src/actions/aglobal.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/src/actions/config.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/src/actions/emconcept.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/src/actions/emconceptbase.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/src/actions/emconceptbase.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/src/actions/emconcepthistory.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/src/actions/emconcepthistory.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/src/actions/exception.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/src/actions/indexday.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/src/actions/indexday.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/src/actions/indexday_p.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/src/actions/indexmin.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/src/actions/indexmin.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/src/actions/indexmin_p.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/src/actions/indicator.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/src/actions/indicator.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/src/actions/security.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/src/actions/securitylist.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/src/actions/stockday.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/src/actions/stockday.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/src/actions/stockday_p.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/src/actions/stockmin.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/src/actions/stockmin.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/src/actions/stockmin_p.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/src/actions/stockxdxr.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/src/actions/stockxdxr.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/src/actions/stockxdxr_p.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/src/actions/utils.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/src/actions/xdxr.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/src/actions/xdxr.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/src/actions/xdxr_p.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/test/actions/emconceptbase/main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/test/actions/emconcepthistory/main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/test/actions/indexday/main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/test/actions/indexmin/main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/test/actions/indicator/main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
2 changes: 1 addition & 1 deletion cxx/test/actions/securitylist/main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (c) 2020-2026 Jimmy M. Gong *
* Copyright (c) 2020-present Jimmy M. Gong *
* All rights reserved. *
* *
* Distributed under the terms of the GPL3 and LGPL3 Licenses. *
Expand Down
Loading

0 comments on commit adcabb3

Please sign in to comment.