|
1 | | -# These tests will only work if you have pybacktest installed: |
2 | | -# https://github.com/ematvey/pybacktest |
3 | | -# You dont need to have a listener thread running |
4 | | -set echo True |
5 | | -# read a CSV file from Mt4 |
6 | | -back feed read_mt4_csv tmp/EURUSD60-2014.csv EURUSD 60 2014 |
7 | | -# list the feeds we have read |
8 | | -back feed list |
9 | | -py assert len(self._G) > 0 |
10 | | -# get the key name of the current feed |
11 | | -back feed get |
12 | | -# set the current recipe |
13 | | -back recipe set SMARecipe |
14 | | -# show the current recipe config |
15 | | -back recipe config |
16 | | -# list the known chefs |
17 | | -back chef list |
18 | | -# show the current chef |
19 | | -back chef set |
20 | | -# set the current chef |
21 | | -back chef set PybacktestChef |
22 | | -# make the ingredients |
23 | | -back recipe ingredients |
24 | | -# cook the recipe by the chef |
25 | | -back chef cook |
26 | | -# This should be done in this order |
27 | | -back servings list |
28 | | -back servings signals |
29 | | -back servings trades |
30 | | -back servings positions |
31 | | -back servings equity |
32 | | -back servings trade_price |
33 | | -back servings reviews |
34 | | -# FixMe: cant test tabview |
35 | | -exit |
| 1 | +# These tests will only work if you have pybacktest installed: |
| 2 | +# https://github.com/ematvey/pybacktest |
| 3 | +# You dont need to have a listener thread running |
| 4 | +set echo True |
| 5 | +# read a CSV file from Mt4 |
| 6 | +back feed read_mt4_csv tmp/EURUSD60-2014.csv EURUSD 60 2014 |
| 7 | +# list the feeds we have read |
| 8 | +back feed list |
| 9 | +py assert len(self._G) > 0 |
| 10 | +# get the key name of the current feed |
| 11 | +back feed get |
| 12 | +# set the current recipe |
| 13 | +back recipe set SMARecipe |
| 14 | +# show the current recipe config |
| 15 | +back recipe config |
| 16 | +# list the known chefs |
| 17 | +back chef list |
| 18 | +# show the current chef |
| 19 | +back chef set |
| 20 | +# set the current chef |
| 21 | +back chef set PybacktestChef |
| 22 | +# make the ingredients |
| 23 | +back recipe ingredients |
| 24 | +# cook the recipe by the chef |
| 25 | +back chef cook |
| 26 | +# This should be done in this order |
| 27 | +back servings list |
| 28 | +back servings signals |
| 29 | +back servings trades |
| 30 | +back servings positions |
| 31 | +back servings equity |
| 32 | +back servings trade_price |
| 33 | +back servings reviews |
| 34 | +# FixMe: cant test tabview |
| 35 | +exit |
0 commit comments