8000 Latest dev by TheZepto · Pull Request #1 · TheZepto/freqtrade · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Latest dev #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 95 commits into from
Jan 15, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
e10a3d1
get_ticker can return a cached value
jblestang Jan 2, 2018
165781a
force refresh is the value has never been set
jblestang Jan 2, 2018
90d3c09
fixing refresh argument ...
jblestang Jan 2, 2018
5f696a0
really fixing
jblestang Jan 2, 2018
a1ffa44
Merge branch 'develop' into fix_issue_278
jblestang Jan 2, 2018
050e73d
fix a typo in the description of get_ticker
jblestang Jan 3, 2018
75955fc
Add a unitest and fix pep8
jblestang Jan 3, 2018
8175eaa
get_ticker can return a cached value
jblestang Jan 2, 2018
c72e9c3
force refresh is the value has never been set
jblestang Jan 2, 2018
9e7a4c3
fixing refresh argument ...
jblestang Jan 2, 2018
80c4dea
really fixing
jblestang Jan 2, 2018
6be607e
fix a typo in the description of get_ticker
jblestang Jan 3, 2018
975a785
Add a unitest and fix pep8
jblestang Jan 3, 2018
c3cae5d
have pip upgrade flake8 and coveralls
vertti Jan 7, 2018
5be733a
fix flake8 warnings
vertti Jan 7, 2018
b722a89
fixing unittest
jblestang Jan 7, 2018
f4e4104
Fixing unitest
jblestang Jan 7, 2018
2773ce7
reb 8000 asing against develop
jblestang Jan 7, 2018
4c8ae3a
without debug print
jblestang Jan 7, 2018
7d21015
get_ticker can return a cached value
jblestang Jan 2, 2018
3a0569c
force refresh is the value has never been set
jblestang Jan 2, 2018
ce6f6ab
fixing refresh argument ...
jblestang Jan 2, 2018
7d7752e
really fixing
jblestang Jan 2, 2018
4b6d855
fix a typo in the description of get_ticker
jblestang Jan 3, 2018
05ca00b
Add a unitest and fix pep8
jblestang Jan 3, 2018
6512753
fixing unittest
jblestang Jan 7, 2018
5b1f84f
without debug print
jblestang Jan 7, 2018
5fbaa6d
rebasing for ta-lib dependency
jblestang Jan 7, 2018
bba711c
with flake8 ...
jblestang Jan 7, 2018
fca6a09
Merge pull request #293 from jblestang/fix_issue_278
glonlas Jan 7, 2018
9c21077
Fix hypeopt issue when no result found
glonlas Jan 8, 2018
ceded8a
Merge pull request #338 from gcarq/fix/issue-337
glonlas Jan 8, 2018
9dd38ae
add stoploss to the hyperopt parameters
vertti Jan 7, 2018
ca05d1f
Fix for flake8
glonlas Jan 8, 2018
d8e692c
Merge pull request #339 from gcarq/upgrade_flake8
shusso Jan 8, 2018
1ae73d7
Merge branch 'develop' into hyperopt_stoploss
vertti Jan 8, 2018
fa97a82
Merge pull request #332 from gcarq/hyperopt_stoploss
vertti Jan 8, 2018
26b8661
Added missing fiat currencies to config
stephendade Jan 8, 2018
3d13eb2
Merge pull request #342 from stephendade/fiatfix
vertti Jan 8, 2018
dd2ccea
fix wrong range in stoploss search space
vertti Jan 8, 2018
f7dd5e6
use sensible value for stoploss in test
vertti Jan 8, 2018
732281b
public git URL
rjmoggach Jan 9, 2018
e46fcf0
Merge pull request #344 from gcarq/fix-hyperopt-stoploss
vertti Jan 9, 2018
fbf9bfe
Update installation.md
shusso Jan 9, 2018
bbcf694
Merge pull request #349 from gcarq/docs-update
glonlas Jan 9, 2018
ca8cab0
Hyperopt to handle SIGINT by saving/reading the trials file
shusso Jan 6, 2018
a488405
Hyperopt: use results from previous runs
shusso Jan 6, 2018
b35fa4c
hyperopt: show the best results so far
shusso Jan 6, 2018
1647e7a
update fix failing tests, unitest that resume hyperopt functionality …
shusso Jan 9, 2018
fe2b0c2
add unittest to save and read trials file
shusso Jan 9, 2018
ffae0b2
hyperopt: prettyfie best values when receiving SIGINT, use the global…
shusso Jan 9, 2018
9840e0b
use HTTPS git URL in README.md (#347)
rjmoggach Jan 9, 2018
b9bf5c1
test: increase coverage of exchange.bittrex
Jan 9, 2018
ddc711e
Merge pull request #353 from kryofly/test_exchange_bittrex
glonlas Jan 10, 2018
e67c652
use os.path.join, fix docstrings
shusso Jan 10, 2018
abcdbcf
Set requests default timeout
ermakus Jan 10, 2018
69f68c4
Merge pull request #355 from ermakus/set_requests_default_timeout
shusso Jan 10, 2018
7cdbd55
Merge pull request #351 from gcarq/feat/hyperopt-resume
vertti Jan 11, 2018
1b6b0ad
autopep8
vertti Jan 9, 2018
0abc304
linter fixes and cleanups
vertti Jan 9, 2018
86db6c9
sort imports
vertti Jan 10, 2018
64530c6
remove unused variables
vertti Jan 10, 2018
8fb404b
ignore talib.abstract in pylint
vertti Jan 10, 2018
6a43328
fix literal comparison
vertti Jan 10, 2018
0d6051e
formatting
vertti Jan 10, 2018
02fcbbb
few flake8 fixes
vertti Jan 10, 2018
c11102c
another run of autopep8
vertti Jan 10, 2018
11cbb91
Set timeout for bittrex only
ermakus Jan 11, 2018
bb91fdb
oops, print removed
ermakus Jan 11, 2018
27fcf62
Merge pull request #354 from gcarq/linter-fixes
shusso Jan 11, 2018
0d0737d
Resolve conflict
ermakus Jan 11, 2018
3ac3ead
Merge pull request #358 from ermakus/set_requests_default_timeout
shusso Jan 11, 2018
3a90228
testdata path to use os.path.join (#360)
shusso Jan 11, 2018
46a1a2d
Update ta-lib from 0.4.14 to 0.4.15
pyup-bot Jan 11, 2018
39c6e52
Fix plot_dataframe.py
glonlas Jan 12, 2018
1fe8665
Merge pull request #364 from gcarq/fix/issue-363
glonlas Jan 12, 2018
a26cb4b
Update pymarketcap from 3.3.145 to 3.3.147
pyup-bot Jan 12, 2018
d48d2d0
cleaned up installation docs
rjmoggach Jan 13, 2018
25e021d
installation docs update
rjmoggach Jan 13, 2018
030aedc
Merge pull request #362 from gcarq/pyup-update-ta-lib-0.4.14-to-0.4.15
vertti Jan 13, 2018
372dc5b
Merge pull request #368 from gcarq/pyup-update-pymarketcap-3.3.145-to…
vertti Jan 13, 2018
3087ca0
Update freqtrade version
glonlas Jan 13, 2018
70f2aed
Merge pull request #375 from gcarq/update_version
glonlas Jan 13, 2018
f7a44d1
Fixing the ticker analysis with null value
jblestang Jan 13, 2018
e5b27ba
Update pymarketcap from 3.3.147 to 3.3.148
pyup-bot Jan 13, 2018
61c4624
Merge pull request #377 from gcarq/pyup-update-pymarketcap-3.3.147-to…
vertti Jan 13, 2018
80e7f37
Merge pull request #376 from jblestang/fix_ticker_with_null_value
vertti Jan 13, 2018
3277e49
support download for multiple testdata sets
Jan 13, 2018
344843d
Update doc: 'cp' becomes 'cp -n', and add more FAQ questions
glonlas Jan 14, 2018
6aa812a
Merge pull request #379 from kryofly/testdata-download2
shusso Jan 14, 2018
fe26ff7
Merge pull request #381 from gcarq/doc_update
shusso Jan 14, 2018
b5cd9da
change cat to cp
rjmoggach Jan 14, 2018
130867a
Merge branch 'develop' into develop
glonlas Jan 15, 2018
dce554a
Merge branch 'develop' into develop
glonlas Jan 15, 2018
5a50b88
Merge pull request #374 from robmoggach/develop
glonlas Jan 15, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,5 @@ target/
.venv
.idea
.vscode

hyperopt_trials.pickle
4 changes: 2 additions & 2 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[MASTER]
extension-pkg-whitelist=numpy,talib
extension-pkg-whitelist=numpy,talib,talib.abstract

[BASIC]
good-names=logger
ignore=vendor

[TYPECHECK]
ignored-modules=numpy,talib
ignored-modules=numpy,talib,talib.abstract

2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ addons:
install:
- ./install_ta-lib.sh
- export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
- pip install flake8 coveralls
- pip install --upgrade flake8 coveralls
- pip install -r requirements.txt
- pip install -e .
jobs:
Expand Down
15 changes: 15 additions & 0 deletions docs/backtesting.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,21 @@ python3 ./freqtrade/main.py backtesting --realistic-simulation --live
python3 ./freqtrade/main.py backtesting --datadir freqtrade/tests/testdata-20180101
```

To update your testdata directory, or download into another testdata directory:
```bash
mkdir freqtrade/tests/testdata-20180113
cp freqtrade/tests/testdata/pairs.json freqtrade/tests/testdata-20180113
cd freqtrade/tests/testdata-20180113

Possibly edit pairs.json file to include/exclude pairs

python download_backtest_data.py -p pairs.json
```

The script will read your pairs.json file, and download ticker data
into the current working directory.


For help about backtesting usage, please refer to
[Backtesting commands](#backtesting-commands).

Expand Down
64 changes: 57 additions & 7 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,70 @@

#### I have waited 5 minutes, why hasn't the bot made any trades yet?!

Depending on the buy strategy, the amount of whitelisted coins, the situation of the market etc, it can take up to hours to find good entry position for a trade. Be patient!
Depending on the buy strategy, the amount of whitelisted coins, the
situation of the market etc, it can take up to hours to find good entry
position for a trade. Be patient!

#### I have made 12 trades already, why is my total profit negative?!

I understand your disappointment but unfortunately 12 trades is just not enough to say anything. If you run backtesting, you can see that our current algorithm does leave you on the plus side, but that is after thousands of trades and even there, you will be left with losses on specific coins that you have traded tens if not hundreds of times. We of course constantly aim to improve the bot but it will _always_ be a gamble, which should leave you with modest wins on monthly basis but you can't say much from few trades.
I understand your disappointment but unfortunately 12 trades is just
not enough to say anything. If you run backtesting, you can see that our
current algorithm does leave you on the plus side, but that is after
thousands of trades and even there, you will be left with losses on
specific coins that you have traded tens if not hundreds of times. We
of course constantly aim to improve the bot but it will _always_ be a
gamble, which should leave you with modest wins on monthly basis but
you can't say much from few trades.

#### I’d like to change the stake amount. Can I just stop the bot with /stop and then change the config.json and run it again?
#### I’d like to change the stake amount. Can I just stop the bot with
/stop and then change the config.json and run it again?

Not quite. Trades are persisted to a database but the configuration is currently only read when the bot is killed and restarted. `/stop` more like pauses. You can stop your bot, adjust settings and start it again.
Not quite. Trades are persisted to a database but the configuration is
currently only read when the bot is killed and restarted. `/stop` more
like pauses. You can stop your bot, adjust settings and start it again.

#### I want to improve the bot with a new strategy

That's great. We have a nice backtesting and hyperoptimizing setup. See the tutorial [[here|Testing-new-strategies-with-Hyperopt]].
That's great. We have a nice backtesting and hyperoptimizing setup. See
the tutorial [here|Testing-new-strategies-with-Hyperopt](https://github.com/gcarq/freqtrade/blob/develop/docs/bot-usage.md#hyperopt-commands).

#### Is there a setting to only SELL the coins being held and not perform anymore BUYS?
#### Is there a setting to only SELL the coins being held and not
perform anymore BUYS?

You can use the `/forcesell all` command from Telegram.

### How many epoch do I need to get a good Hyperopt result?
Per default Hyperopts without `-e` or `--epochs` parameter will only
run 100 epochs, means 100 evals of your triggers, guards, .... Too few
to find a great result (unless if you are very lucky), so you probably
have to run it for 10.000 or more. But it will take an eternity to
compute.

We recommend you to run it at least 10.000 epochs:
```bash
python3 ./freqtrade/main.py hyperopt -e 10000
```

or if you want intermediate result to see
```bash
for i in {1..100}; do python3 ./freqtrade/main.py hyperopt -e 100; done
```

#### Why it is so long to run hyperopt?
Finding a great Hyperopt results takes time.

If you wonder why it takes a while to find great hyperopt results

This answer was written during the under the release 0.15.1, when we had
:
- 8 triggers
- 9 guards: let's say we evaluate even 10 values from each
- 1 stoploss calculation: let's say we want 10 values from that too to
be evaluated

The following calculation is still very rough and not very precise
but it will give the idea. With only these triggers and guards there is
already 8*10^9*10 evaluations. A roughly total of 80 billion evals.
Did you run 100 000 evals? Congrats, you've done roughly 1 / 100 000 th
of the search space.

You can use the `/forcesell all` command from Telegram.
Loading
0