-
-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'v2.012' into v3.004-dev-new
* tag 'v2.012': (84 commits) EA: Sets trade params across all strategies EA/Strategy/Trade: Adds AddTaskObject() EA/Strategy/Trade: AddTask: Fixes code syntax to avoid issues with invalid pointers Trade: TradeParams: Sets log_level in struct constructor Trade: Disables filling modes for MQL4 EA/Strategy: Improves trading logic EA: Fixes recent issue with error during trade request Indicator: Fixes timeframe assignment in class constructor EA/Strategy: More fixes for log printing based on the level EA/Strategy: Fixes log printing based on the level Strategy/Trade: Adds log level getters/setters Trade/Strategy: Improves logic on detecting defined spread limits Trade: TradeParams: Adds max_spread Trade: Checks spread limits Fixes spread/deviation limit logic IndicatorData: Adds setter for IndicatorDataParams struct Exchange: Uses AccountBase instead of AccountMt Account/AccountMt: Fixes zero division Account: Renames Account to AccountMt Exchange: Expands test ...
- Loading branch information
Showing
136 changed files
with
4,492 additions
and
2,030 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
name: Test Storage | ||
|
||
# yamllint disable-line rule:truthy | ||
on: | ||
pull_request: | ||
paths: | ||
- 'Storage/**' | ||
- '.github/workflows/test-storage.yml' | ||
push: | ||
paths: | ||
- 'Storage/**' | ||
- '.github/workflows/test-storage.yml' | ||
|
||
jobs: | ||
|
||
compile: | ||
name: Compile | ||
uses: ./.github/workflows/compile.yml | ||
with: | ||
artifact_prefix: mt | ||
path: Exchange | ||
skip_cleanup: true | ||
|
||
Storage-Tests-MQL4: | ||
defaults: | ||
run: | ||
shell: bash | ||
working-directory: Storage/tests | ||
if: false | ||
needs: compile | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
test: | ||
- Collection.test | ||
steps: | ||
- uses: actions/download-artifact@v2 | ||
with: | ||
name: files-ex4 | ||
- name: Run ${{ matrix.test }} | ||
uses: fx31337/mql-tester-action@master | ||
with: | ||
Script: ${{ matrix.test }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
--- | ||
name: Test Task | ||
|
||
# yamllint disable-line rule:truthy | ||
on: | ||
pull_request: | ||
paths: | ||
- 'Task/**' | ||
- '.github/workflows/test-task.yml' | ||
push: | ||
paths: | ||
- 'Task/**' | ||
- '.github/workflows/test-task.yml' | ||
|
||
jobs: | ||
|
||
compile: | ||
name: Compile | ||
uses: ./.github/workflows/compile.yml | ||
with: | ||
artifact_prefix: mt | ||
path: Exchange | ||
skip_cleanup: true | ||
|
||
Task-Tests-MQL4: | ||
defaults: | ||
run: | ||
shell: bash | ||
working-directory: Task/tests | ||
if: false | ||
needs: compile | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
test: | ||
- Task.test | ||
- TaskAction.test | ||
- TaskCondition.test | ||
- TaskGetter.test | ||
- TaskManager.test | ||
- TaskObject.test | ||
- TaskSetter.test | ||
- Taskable.car.test | ||
- Taskable.test | ||
steps: | ||
- uses: actions/download-artifact@v2 | ||
with: | ||
name: files-ex4 | ||
- name: Run ${{ matrix.test }} | ||
uses: fx31337/mql-tester-action@master | ||
with: | ||
Script: ${{ matrix.test }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.