Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
woldy committed Dec 26, 2023
1 parent 4680226 commit c98e475
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions examples/demo-project/strategy/AITopNStrategy.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ def initialize(context):
# 为股票设定滑点为百分比滑点
set_slippage(PriceRelatedSlippage(0.00246),type='stock')
# 持仓数量
g.stocknum = 50
g.stocknum = 5
# 交易日计时器
g.days = 0
# 调仓频率
g.refresh_rate = 1
g.refresh_rate = 10
# 运行函数
#inout_cash(100000)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ def initialize(context):
# 为股票设定滑点为百分比滑点
set_slippage(PriceRelatedSlippage(0.00246),type='stock')
# 持仓数量
g.stocknum = 50
g.stocknum = 5
# 交易日计时器
g.days = 0
# 调仓频率
g.refresh_rate = 15
g.refresh_rate = 10
# 运行函数
#inout_cash(100000)

Expand Down
Empty file modified script/docker.sh
100644 → 100755
Empty file.
4 changes: 3 additions & 1 deletion script/package.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
mysqldump -uroot -p --no-data finhack > ./databases/finhack_structure.sql


rm -rf dist/*
rm -rf build/*
rm -rf finhack.egg-info

rsync -av --include='*/' --include='factorlist/' --include='factorlist/**' \
--include='*.py' --include='*.conf' --exclude='*' --exclude='__pycache__/' \
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

setup(
name='finhack',
version='0.0.1.dev2',
version='0.0.1.dev3',
author='woldy',
description='A scalable quantitative financial analysis framework.',
packages=find_packages(),
Expand Down

0 comments on commit c98e475

Please sign in to comment.