-
Notifications
You must be signed in to change notification settings - Fork 63
54 lines (44 loc) · 1.1 KB
/
backtest.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
name: Backtest
# yamllint disable-line rule:truthy
on:
push:
branches:
- 'v*-backtest'
paths:
- .github/workflows/backtest.yml
release:
types:
- published
jobs:
compile:
name: Compile
uses: ./.github/workflows/compile.yml
backtest:
defaults:
run:
shell: bash
name: Backtest
needs: compile
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4.1.7
with:
name: EA
- name: Test ${{ matrix.year }}.${{ matrix.month }}
uses: fx31337/mql-tester-action@dev
with:
Login: ${{ secrets.MT5_LOGIN }}
Password: ${{ secrets.MT5_PASSWORD }}
Server: MetaQuotes-Demo
TestDeposit: ${{ matrix.deposit }}
TestExpert: EA31337-Libre.ex5
TestFromDate: ${{ matrix.year }}.01.01
TestPeriod: M1
TestSymbol: EURUSD
TestToDate: ${{ matrix.year }}.12.31
UrlExpert: file://${{ github.workspace }}/EA31337-Libre.ex5
strategy:
matrix:
deposit: [10000, 100000]
year: [2022, 2023]