Skip to content

Commit e138f06

Browse files
committed
- Added TypeHint
- Added Docstring - Improve Code Quality
1 parent c9056f1 commit e138f06

31 files changed

+3409
-347
lines changed

.github/FUNDING.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github: Joaopeuko
2+
patreon: joaopeuko

.github/workflows/deploy.yaml

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Publish distributions
2+
3+
on:
4+
push:
5+
branches:
6+
- '*'
7+
tags:
8+
- v*
9+
10+
jobs:
11+
build-and-publish:
12+
runs-on: windows-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- name: Set up Python
17+
uses: actions/setup-python@v2
18+
with:
19+
python-version: 3.8
20+
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
python -m pip install --upgrade setuptools
25+
python -m pip install poetry
26+
python -m pip install twine
27+
python -m poetry install
28+
29+
- name: Build and publish to Test PyPI
30+
env:
31+
TWINE_USERNAME: __token__
32+
TWINE_PASSWORD: ${{ secrets.TEST_PYPI }}
33+
run: |
34+
python -m poetry build
35+
twine upload --skip-existing --repository-url https://test.pypi.org/legacy/ dist/*
36+
37+
- name: Publish to PyPI (if it's a new tag)
38+
if: github.ref == 'refs/heads/master'
39+
env:
40+
TWINE_USERNAME: __token__
41+
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
42+
run: |
43+
python -m poetry build
44+
twine upload dist/*

.gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# Project exclude paths
2-
/tensor-venv/
1+
.env
2+
*.pyc

.idea/.gitignore

-3
This file was deleted.

.idea/Mql5-Python-Integration.iml

-10
This file was deleted.

.idea/inspectionProfiles/profiles_settings.xml

-6
This file was deleted.

.idea/misc.xml

-4
This file was deleted.

.idea/modules.xml

-8
This file was deleted.

.idea/vcs.xml

-6
This file was deleted.

.pre-commit-config.yaml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v4.5.0
4+
hooks:
5+
- id: trailing-whitespace
6+
- id: end-of-file-fixer
7+
- id: check-yaml
8+
- id: check-added-large-files
9+
language_version: python3
10+
11+
12+
13+
- repo: https://github.com/psf/black
14+
rev: 23.11.0
15+
hooks:
16+
- id: black
17+
args: [--safe, --line-length=120]
18+
19+
- repo: https://github.com/pycqa/isort
20+
rev: 5.12.0
21+
hooks:
22+
- id: isort
23+
args: [--profile=black]

ExpertAdvisor/example.py

-40
This file was deleted.

Include/rates.py

-14
This file was deleted.

Include/tick.py

-13
This file was deleted.

0 commit comments

Comments
 (0)