vnpy/tests/backtesting/turtle.ipynb

139 lines
33 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"#%%\n",
"from vnpy.app.cta_strategy.backtesting import BacktestingEngine\n",
"from vnpy.app.cta_strategy.strategies.turtle_signal_strategy import (\n",
" TurtleSignalStrategy,\n",
")\n",
"from datetime import datetime"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
"#%%\n",
"engine = BacktestingEngine()\n",
"engine.set_parameters(\n",
" vt_symbol=\"IF88.CFFEX\",\n",
" interval=\"1m\",\n",
" start=datetime(2013, 1, 1),\n",
" end=datetime(2015, 3, 30),\n",
" rate=0,\n",
" slippage=0,\n",
" size=300,\n",
" pricetick=0.2,\n",
" capital=1_000_000,\n",
")"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {
"scrolled": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"2019-01-30 04:34:46.991182\t开始加载历史数据\n",
"2019-01-30 04:34:51.884218\t历史数据加载完成数据量64800\n",
"2019-01-30 04:34:52.102901\t策略初始化完成\n",
"2019-01-30 04:34:52.102901\t开始回放历史数据\n",
"2013-02-01 09:48:00 1 Direction.LONG 2687.2000000000003 1\n",
"2013-02-01 09:58:00 2 Direction.SHORT 2683.8 1\n",
"2019-01-30 04:34:54.062263\t历史数据回放结束\n",
"2019-01-30 04:34:54.062263\t开始计算逐日盯市盈亏\n",
"2019-01-30 04:34:54.062263\t逐日盯市盈亏计算完成\n",
"2019-01-30 04:34:54.062263\t开始计算策略统计指标\n",
"2019-01-30 04:34:54.077883\t------------------------------\n",
"2019-01-30 04:34:54.077883\t首个交易日\t2013-02-01\n",
"2019-01-30 04:34:54.077883\t最后交易日\t2014-01-03\n",
"2019-01-30 04:34:54.077883\t总交易日\t220\n",
"2019-01-30 04:34:54.077883\t盈利交易日\t0\n",
"2019-01-30 04:34:54.077883\t亏损交易日\t1\n",
"2019-01-30 04:34:54.077883\t起始资金\t1,000,000.00\n",
"2019-01-30 04:34:54.077883\t结束资金\t998,980.00\n",
"2019-01-30 04:34:54.077883\t总收益率\t-0.10%\n",
"2019-01-30 04:34:54.077883\t年化收益\t-0.11%\n",
"2019-01-30 04:34:54.077883\t最大回撤: \t0.00%\n",
"2019-01-30 04:34:54.077883\t百分比最大回撤: 0.00%\n",
"2019-01-30 04:34:54.077883\t总盈亏\t-1,020.00%\n",
"2019-01-30 04:34:54.077883\t总手续费\t0.00\n",
"2019-01-30 04:34:54.077883\t总滑点\t0.00\n",
"2019-01-30 04:34:54.077883\t总成交金额\t1,611,300.00\n",
"2019-01-30 04:34:54.077883\t总成交笔数\t2\n",
"2019-01-30 04:34:54.077883\t日均盈亏\t-4.64\n",
"2019-01-30 04:34:54.077883\t日均手续费\t0.00\n",
"2019-01-30 04:34:54.077883\t日均滑点\t0.00\n",
"2019-01-30 04:34:54.077883\t日均成交金额\t7,324.09\n",
"2019-01-30 04:34:54.077883\t日均成交笔数\t0.00909090909090909\n",
"2019-01-30 04:34:54.077883\t日均收益率\t1,375.17%\n",
"2019-01-30 04:34:54.077883\t收益标准差\t93.14%\n",
"2019-01-30 04:34:54.077883\tSharpe Ratio\t228.74\n"
]
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAoIAAAOSCAYAAADgUbE6AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvOIA7rQAAIABJREFUeJzs3XuYXmV97//3jAmToElaDoJuFBD063gCCZVQOcQtFgH9QeOmpWgVRIQWdQO2QBVBWg7VghYqSkEsWKFUVNqKG0w9wIYAoiOx0I5fG9xAq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skiQy8ifht4WWaeVt8+GrgY2AFsyswL+l0qr1fdVp7ECImIA4BPA48EtgGvzMy7F9IvLTV95ETESuAiqh+CHwfOz8wv2xftioinADcBj83MKftj+dWfU5+k+q3c/YDfz8yv2xftK2l9OyK4CCLiYuC97L4+PwKcRnVVlKMi4gj6XyqvV13tnVcDt2Xms4ErgLfV5QvpFy2OVwGrM/NZwKnAYXW5fdGSiFhHtW6nG8X2x/L7feBvMvN4qs+sS+py+6J9xaxvg+DiuAF4fedG/SE7npl3ZOYMcA1wIj0ulTegrvbObcDaenodsH0h/dJCe0fZScCPIuJK4KPAl+yL9kTEGPDfgXcCW+sy+6MdfwxcWk+vAqbsi6FRzPp21/ACRMQZwFu6ik/PzCsi4oRG2TpgS+P2A8Ah9LhU3oC6mqc+/XIO8IKI+C7wGOA4FtAvEbEqM3csXatHU5++uAeYAl4EPBv4M6rRDvtiifXpjx8An87Mb0VEp8z3xhIbsP34RkQ8jmoX8ZuxL4ZFMevbILgAmbkR2DiPqluYHY2inr4f2L+rfMWAupqnXv0SEV8A3peZl0bE04HPU33Dm1e/jOKbfTn06YtPA1+uRzeujYgns4D3iH2x5/r0x+3AGXUweRywiSqk2x9LqN/2IyKeRnU881sz89p6RNC+aF/3Z9TIrm93DS+BzNwCbIuIQ+vdMCcB11FdKu9k+JeTSW4bUFd752fMfpv7KbBuIf3SQntH2deYXb+HA3fZF+3JzMMy84TMPAG4G3iB/dGOiPhV4LPAaZl5FSxs+9FOq4tRzPp2RHDpnA1cDqykOuvrpoj4Br0vlfewum00eMScB1wWEW8AVgOvrcsX0i9aHB8FPhwRN1Kt37PrcvtiuNgfy++9wBrg4no3/ebMPBX7YhgUc2lbLzEnSZJUKHcNS5IkFcogKEmSVCiDoCRJUqEMgpIkSYUyCEqSJBXKIChJklQog6AkSVKhDIKSJEmF+v8VNzUWJhyjfQAAAABJRU5ErkJggg==\n",
"text/plain": [
"<Figure size 720x1152 with 4 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"#%%\n",
"engine.add_strategy(TurtleSignalStrategy, {})\n",
"engine.load_data()\n",
"engine.run_backtesting()\n",
"df = engine.calculate_result()\n",
"engine.calculate_statistics()\n",
"engine.show_chart()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.1"
}
},
"nbformat": 4,
"nbformat_minor": 2
}