Merge branch 'partial_sell2' of https://github.com/mkavinkumar1/freqtrade into partial_sell2

This commit is contained in:
மனோஜ்குமார் பழனிச்சாமி 2022-04-30 06:24:32 +05:30
commit 24c25802fe
2 changed files with 139 additions and 111 deletions

220
.gitignore vendored
View File

@ -1,110 +1,110 @@
# Freqtrade rules # Freqtrade rules
config*.json config*.json
*.sqlite *.sqlite
*.sqlite-shm *.sqlite-shm
*.sqlite-wal *.sqlite-wal
logfile.txt logfile.txt
user_data/* user_data/*
!user_data/strategy/sample_strategy.py !user_data/strategy/sample_strategy.py
!user_data/notebooks !user_data/notebooks
user_data/notebooks/* user_data/notebooks/*
freqtrade-plot.html freqtrade-plot.html
freqtrade-profit-plot.html freqtrade-profit-plot.html
freqtrade/rpc/api_server/ui/* freqtrade/rpc/api_server/ui/*
# Macos related # Macos related
.DS_Store .DS_Store
# git files after merging # git files after merging
*.orig *.orig
# Byte-compiled / optimized / DLL files # Byte-compiled / optimized / DLL files
__pycache__/ __pycache__/
*.py[cod] *.py[cod]
*$py.class *$py.class
# C extensions # C extensions
*.so *.so
# Distribution / packaging # Distribution / packaging
.Python .Python
env/ env/
build/ build/
develop-eggs/ develop-eggs/
dist/ dist/
downloads/ downloads/
eggs/ eggs/
.eggs/ .eggs/
lib/ lib/
lib64/ lib64/
parts/ parts/
sdist/ sdist/
var/ var/
wheels/ wheels/
*.egg-info/ *.egg-info/
.installed.cfg .installed.cfg
*.egg *.egg
# PyInstaller # PyInstaller
# Usually these files are written by a python script from a template # Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it. # before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest *.manifest
*.spec *.spec
# Installer logs # Installer logs
pip-log.txt pip-log.txt
pip-delete-this-directory.txt pip-delete-this-directory.txt
# Unit test / coverage reports # Unit test / coverage reports
htmlcov/ htmlcov/
.tox/ .tox/
.coverage .coverage
.coverage.* .coverage.*
.cache .cache
nosetests.xml nosetests.xml
coverage.xml coverage.xml
*.cover *.cover
.hypothesis/ .hypothesis/
# Translations # Translations
*.mo *.mo
*.pot *.pot
# Django stuff: # Django stuff:
*.log *.log
local_settings.py local_settings.py
# Flask stuff: # Flask stuff:
instance/ instance/
.webassets-cache .webassets-cache
# Scrapy stuff: # Scrapy stuff:
.scrapy .scrapy
# Sphinx documentation # Sphinx documentation
docs/_build/ docs/_build/
# PyBuilder # PyBuilder
target/ target/
# Jupyter Notebook # Jupyter Notebook
*.ipynb_checkpoints *.ipynb_checkpoints
# pyenv # pyenv
.python-version .python-version
.env .env
.venv .venv
.idea .idea
.vscode .vscode
.pytest_cache/ .pytest_cache/
.mypy_cache/ .mypy_cache/
#exceptions #exceptions
!*.gitkeep !*.gitkeep
!config_examples/config_binance.example.json !config_examples/config_binance.example.json
!config_examples/config_bittrex.example.json !config_examples/config_bittrex.example.json
!config_examples/config_ftx.example.json !config_examples/config_ftx.example.json
!config_examples/config_full.example.json !config_examples/config_full.example.json
!config_examples/config_kraken.example.json !config_examples/config_kraken.example.json

View File

@ -11,7 +11,35 @@ repos:
rev: 'v0.942' rev: 'v0.942'
hooks: hooks:
- id: mypy - id: mypy
# stages: [push] pass_filenames: false # suppress the normal filename passing
files: ^freqtrade/ # filter the files down to a specific subdirectory
# pre-commit only supports running at the root of a repo since that's where
# git hooks run. but it also allows running arbitrary code so you can
# step outside of those bounds
# note that `bash` will reduce your portability slightly
verbose: true
entry: mypy freqtrade
additional_dependencies:
- types-cachetools==5.0.0
- types-filelock==3.2.5
- types-python-dateutil==2.8.10
- types-requests==2.27.15
- types-tabulate==0.8.6
- types-urllib3==1.26.11
# and then repeat ...
- id: mypy
pass_filenames: false
files: ^scripts/
entry: mypy scripts
additional_dependencies:
- types-cachetools==5.0.0
- types-filelock==3.2.5
- types-python-dateutil==2.8.10
- types-requests==2.27.15
- types-tabulate==0.8.6
- types-urllib3==1.26.11
- repo: https://github.com/pycqa/isort - repo: https://github.com/pycqa/isort
rev: '5.10.1' rev: '5.10.1'