Skip to content

Commit

Permalink
#620 Commit:risk
Browse files Browse the repository at this point in the history
  • Loading branch information
yutiansut committed May 3, 2017
1 parent c18aa60 commit 0009aff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions QUANTAXIS/QAARP/QARisk.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
风险性主要包括胜率、平均盈亏比、最大回撤比例、最大连续亏损次数、最大连续盈利次数、持仓时间占比、贝塔。
综合性指标主要包括风险收益比,夏普比例,波动率,VAR,偏度,峰度等"""
def QA_risk_eva_account(message,days):
def QA_risk_eva_account(client,message,days):
cookie=message['header']['cookie']
account=message['body']['account']
#绩效表现指标分析
performance= QAAnalysis.QA_backtest_analysis_start(message,days)
performance= QAAnalysis.QA_backtest_analysis_start(client,message,days)
"""
message= {
'annualized_returns':annualized_returns,
Expand Down

0 comments on commit 0009aff

Please sign in to comment.