【已解决】没有交易不会发送邮件和微信通知吗?

新手专区
标签: #<Tag:0x00007fcf63e17280>

(telefar) #1

[2018-05-11 18:43:57.435105] INFO: bigquant: instruments.v2 开始运行…
[2018-05-11 18:43:57.455429] INFO: bigquant: 命中缓存
[2018-05-11 18:43:57.456955] INFO: bigquant: instruments.v2 运行完成[0.021889s].
[2018-05-11 18:43:57.541613] INFO: bigquant: advanced_auto_labeler.v2 开始运行…
[2018-05-11 18:43:57.545171] INFO: bigquant: 命中缓存
[2018-05-11 18:43:57.546275] INFO: bigquant: advanced_auto_labeler.v2 运行完成[0.004661s].
[2018-05-11 18:43:57.556455] INFO: bigquant: input_features.v1 开始运行…
[2018-05-11 18:43:57.558892] INFO: bigquant: 命中缓存
[2018-05-11 18:43:57.559932] INFO: bigquant: input_features.v1 运行完成[0.003494s].
[2018-05-11 18:43:57.588684] INFO: bigquant: general_feature_extractor.v6 开始运行…
[2018-05-11 18:43:57.592472] INFO: bigquant: 命中缓存
[2018-05-11 18:43:57.594304] INFO: bigquant: general_feature_extractor.v6 运行完成[0.005614s].
[2018-05-11 18:43:57.608681] INFO: bigquant: derived_feature_extractor.v2 开始运行…
[2018-05-11 18:43:57.611996] INFO: bigquant: 命中缓存
[2018-05-11 18:43:57.613228] INFO: bigquant: derived_feature_extractor.v2 运行完成[0.004549s].
[2018-05-11 18:43:57.631387] INFO: bigquant: join.v3 开始运行…
[2018-05-11 18:43:57.634767] INFO: bigquant: 命中缓存
[2018-05-11 18:43:57.636250] INFO: bigquant: join.v3 运行完成[0.004879s].
[2018-05-11 18:43:57.652830] INFO: bigquant: dropnan.v1 开始运行…
[2018-05-11 18:43:57.657838] INFO: bigquant: 命中缓存
[2018-05-11 18:43:57.659301] INFO: bigquant: dropnan.v1 运行完成[0.006491s].
[2018-05-11 18:43:57.682788] INFO: bigquant: stock_ranker_train.v5 开始运行…
[2018-05-11 18:43:57.687193] INFO: bigquant: 命中缓存
[2018-05-11 18:43:57.688527] INFO: bigquant: stock_ranker_train.v5 运行完成[0.005788s].
[2018-05-11 18:43:57.696283] INFO: bigquant: instruments.v2 开始运行…
[2018-05-11 18:43:57.700470] INFO: bigquant: 命中缓存
[2018-05-11 18:43:57.702724] INFO: bigquant: instruments.v2 运行完成[0.006427s].
[2018-05-11 18:43:57.719104] INFO: bigquant: general_feature_extractor.v6 开始运行…
[2018-05-11 18:43:57.722626] INFO: bigquant: 命中缓存
[2018-05-11 18:43:57.724113] INFO: bigquant: general_feature_extractor.v6 运行完成[0.005037s].
[2018-05-11 18:43:57.733952] INFO: bigquant: derived_feature_extractor.v2 开始运行…
[2018-05-11 18:43:57.741532] INFO: bigquant: 命中缓存
[2018-05-11 18:43:57.743408] INFO: bigquant: derived_feature_extractor.v2 运行完成[0.00945s].
[2018-05-11 18:43:57.752857] INFO: bigquant: dropnan.v1 开始运行…
[2018-05-11 18:43:57.755756] INFO: bigquant: 命中缓存
[2018-05-11 18:43:57.757842] INFO: bigquant: dropnan.v1 运行完成[0.005001s].
[2018-05-11 18:43:57.780971] INFO: bigquant: stock_ranker_predict.v5 开始运行…
[2018-05-11 18:43:57.796413] INFO: bigquant: 命中缓存
[2018-05-11 18:43:57.798096] INFO: bigquant: stock_ranker_predict.v5 运行完成[0.017163s].
[2018-05-11 18:43:58.146228] INFO: forward_register: start to register
[2018-05-11 18:43:58.207820] INFO: forward_register: done of register
[2018-05-11 18:43:58.881210] INFO: forward_test: last record: <EquityAlgoDaily(run_date=2018-05-10, is_sync=0, cash=1000000.0, positions=’[]’, transactions=’[]’, orders=’[]’, extension=’{“order_price_field_buy”: “open”, “order_price_field_sell”: “close”}’, benchmark=’{“000300.SHA”: 0.005537986755371094}’, portfolio=’{“pv”: 0.0, “first_date”: “2018-05-10”, “today_return”: 0.0, “max_pv”: 1000000.0, “cum_return”: 0.0, “annual_return”: 0.0, “drawdown”: 0.0}’, risk_indicator=’{“ir”: 0.0, “beta”: 0.0, “sharpe”: 0.0, “alpha”: 0.0, “volatility”: 0.0}’, trading_days=‘1’
[2018-05-11 18:43:58.887094] INFO: forward_test: today record: None
[2018-05-11 18:43:58.892743] INFO: forward_test: first record: <EquityAlgoDaily(run_date=2018-05-10, is_sync=0, cash=1000000.0, positions=’[]’, transactions=’[]’, orders=’[]’, extension=’{“order_price_field_buy”: “open”, “order_price_field_sell”: “close”}’, benchmark=’{“000300.SHA”: 0.005537986755371094}’, portfolio=’{“pv”: 0.0, “first_date”: “2018-05-10”, “today_return”: 0.0, “max_pv”: 1000000.0, “cum_return”: 0.0, “annual_return”: 0.0, “drawdown”: 0.0}’, risk_indicator=’{“ir”: 0.0, “beta”: 0.0, “sharpe”: 0.0, “alpha”: 0.0, “volatility”: 0.0}’, trading_days=‘1’
[2018-05-11 18:43:59.052579] INFO: algo: set price type:backward_adjusted
[2018-05-11 18:44:02.082058] INFO: forward_test: positions len:0
[2018-05-11 18:44:02.091248] INFO: Performance: Simulated 1 trading days out of 1.
[2018-05-11 18:44:02.092539] INFO: Performance: first open: 2018-05-11 01:30:00+00:00
[2018-05-11 18:44:02.093974] INFO: Performance: last close: 2018-05-11 07:00:00+00:00
[2018-05-11 18:44:02.128553] INFO: forward_test: get last row of algo result: algo_volatility algorithm_period_return alpha
2018-05-11 07:00:00+00:00 0 0.0 0

                       benchmark_period_return  benchmark_volatility  \

2018-05-11 07:00:00+00:00 -0.005193 0

                       beta  capital_used  ending_cash  ending_exposure  \

2018-05-11 07:00:00+00:00 0 0.0 1000000.0 0.0

                       ending_value          ...            \

2018-05-11 07:00:00+00:00 0.0 …

                       short_exposure  short_value  shorts_count  sortino  \

2018-05-11 07:00:00+00:00 0 0 0 0

                       starting_cash  starting_exposure  starting_value  \

2018-05-11 07:00:00+00:00 1000000.0 0.0 0.0

                       trading_days  transactions treasury_period_return  

2018-05-11 07:00:00+00:00 1 [] 0.044297

[1 rows x 38 columns]
[2018-05-11 18:44:02.210042] INFO: forward_test: new orders for date 2018-05-11
No display for HTML output
[2018-05-11 18:44:02.252404] INFO: forward_test: forward test result, cash 1000000.0, positions [], orders [], extension


(feynman0825) #2

能说得详细点么


(iQuant) #3

直接看日志,很难看出原因。这样你加一下小Q微信,bigq100,我们单独帮你看看!


(telefar) #4

我已经加过了这个号,小Q让我发论坛 :(


(telefar) #5

就是这个策略这几天没有邮件和微信通知,日志如上所述,我想知道是不是正常现象。


(iQuant) #6

你好,已经查明原因,是因为你没有绑定实盘交易参数。
证券代码列表模块应该绑定实盘日期,而不是具体的日期。即start_date和end_date都应该是T.live_run_param来传入日期。比如是下图这样:
image

具体你可以参考这篇链接:为什么我的策略在模拟实盘里一直选不出股票?