Commit Graph

14089 Commits

Author SHA1 Message Date
gcarq
3473fd3c90 major refactoring to allow proper testing
This commit includes:
* Reducing complexity of modules
* Remove unneeded wrapper classes
* Implement init() for each module which
  initializes everything based on the config
* Implement some basic tests
2017-09-08 15:51:00 +02:00
Michael Egger
95ec2a517a Merge pull request #12 from vertti/stoploss
Add a stop-loss feature
2017-09-08 10:48:39 +02:00
Michael Egger
ddc984bd02 Merge pull request #10 from vertti/fix-persistent-session
Fix Session lint issues
2017-09-08 10:48:24 +02:00
Michael Egger
089dbb478b Merge pull request #13 from vertti/more-config-validation
More config validation with JSON schema
2017-09-08 10:33:39 +02:00
Janne Sinivirta
a3b318cb03 set stake_currency to be an enum of available markets in Bittrex 2017-09-08 08:51:10 +03:00
Janne Sinivirta
768eae31e8 set minimum of max_open_trades to 1 2017-09-08 08:49:50 +03:00
Janne Sinivirta
ac6d25c8f4 set stake_amount minimum to match minimum bid in Bittrex 2017-09-08 08:45:27 +03:00
Janne Sinivirta
69bfc2d777 remove unnecessary parentheses 2017-09-08 08:03:24 +03:00
Janne Sinivirta
a1d616f8c2 update README to document stoploss 2017-09-07 17:39:16 +03:00
Janne Sinivirta
75f891194e sell immediately if we go below stoploss 2017-09-07 17:34:34 +03:00
Janne Sinivirta
bd161ea0a9 extract selling to a method 2017-09-07 17:33:04 +03:00
Janne Sinivirta
83b14523ca add stoploss to example config and json schema validation 2017-09-07 17:31:55 +03:00
Samuel Husso
cb97a30087 fix sqlalchemy session to use contextual session 2017-09-06 17:13:21 +03:00
Michael Egger
1dc1018356 Merge pull request #7 from vertti/parabolic-sar
Use Parabolic SAR indicator to only buy when bullish trend
2017-09-04 11:45:10 +02:00
Janne Sinivirta
cf309f1987 Merge branch 'master' into parabolic-sar 2017-09-04 12:07:13 +03:00
Michael Egger
16c203e0a4 Merge pull request #11 from vertti/restore-ema
Restore EMA plots
2017-09-04 11:02:57 +02:00
Janne Sinivirta
c6daf47e76 restore EMA plots 2017-09-04 10:19:05 +03:00
Janne Sinivirta
e28e2f62cd install TA-lib in Dockerfile 2017-09-03 17:35:58 +03:00
Janne Sinivirta
44b9da5159 Merge branch 'master' into parabolic-sar 2017-09-03 16:43:20 +03:00
Michael Egger
8ac4fe7734 Merge pull request #9 from vertti/replace-with-talib
Use TA-lib for MACD and StochRSI
2017-09-03 14:49:01 +02:00
Samuel Husso
5bf244b92d fix telegram Session lint issues 2017-09-03 09:56:35 +03:00
Samuel Husso
a56340061e fix Session lint issues 2017-09-03 09:50:48 +03:00
Janne Sinivirta
82b90f24e7 let TA-lib calculate macd, macdsignal and macdhistogram. remove the now unnecessary StockStats library 2017-09-02 11:56:56 +03:00
Janne Sinivirta
0643438580 use TA-lib to calculate StochRSI 2017-09-02 11:41:30 +03:00
Janne Sinivirta
c2d7854d62 add TA-lib dependency 2017-09-02 11:37:12 +03:00
gcarq
aceb8007ca add typehints 2017-09-02 01:22:20 +02:00
gcarq
e3eaad07b1 use jsonschema instead of custom type validations 2017-09-02 01:10:21 +02:00
gcarq
6f05648087 implement get_markets 2017-09-02 01:09:57 +02:00
gcarq
360143b8cf fix typo 2017-09-01 21:34:56 +02:00
gcarq
119823eeac remove unused variables 2017-09-01 21:34:48 +02:00
gcarq
32cac11580 add typehints 2017-09-01 21:11:46 +02:00
gcarq
99cbf72dc4 adapt logging (fixes #6) 2017-09-01 20:46:01 +02:00
Janne Sinivirta
072593c756 only buy when parabolic sar shows bullish trend 2017-09-01 21:45:30 +03:00
Janne Sinivirta
330b67b857 add TA-lib dependency 2017-09-01 21:45:30 +03:00
gcarq
f56fa25505 Merge branch 'master' of https://github.com/gcarq/freqtrade 2017-09-01 20:22:15 +02:00
Michael Egger
e01a4cd362 Merge pull request #5 from vertti/more-dep-updates
Update all dependencies to latest versions
2017-09-01 20:09:39 +02:00
Michael Egger
6bd81f3a85 Merge pull request #4 from vertti/remove_should_stop_global
Move _should_stop from module global to class variable
2017-09-01 20:09:32 +02:00
gcarq
5f07e8aaff Merge branch 'master' of https://github.com/gcarq/freqtrade 2017-09-01 20:06:11 +02:00
Janne Sinivirta
1620f02ab2 update all dependencies to latest versions 2017-09-01 18:58:23 +03:00
Janne Sinivirta
ace556e3bf move _should_stop from module global to class variable 2017-08-31 16:53:47 +03:00
Michael Egger
28c65af134 Merge pull request #3 from vertti/upgrade-deps
Upgrade several dependencies
2017-08-31 14:57:18 +02:00
Michael Egger
43133f0f81 Merge pull request #2 from vertti/linter-fixes
Linter fixes
2017-08-31 14:55:56 +02:00
Michael Egger
a0a134af3f Merge pull request #1 from vertti/add-docker-support
Add docker support
2017-08-31 12:46:10 +02:00
Janne Sinivirta
c46f718b40 upgrade several dependencies 2017-08-30 22:07:33 +03:00
Janne Sinivirta
b9e53bcaa6 fix indentation 2017-08-28 08:53:20 +03:00
Janne Sinivirta
5e940e964b reordering import statements 2017-08-28 08:53:20 +03:00
Janne Sinivirta
98f9d7cc21 use lazy-evaluating form of logger (pylint W1202) 2017-08-28 08:53:20 +03:00
Janne Sinivirta
06d92042fd avoid single char variable names 2017-08-28 08:53:20 +03:00
Samuel Husso
02b4929e3f Add docker support 2017-08-27 18:19:02 +03:00
Janne Sinivirta
e82f6e0da8 fix using JSONDecodeError in two different ways 2017-08-27 15:47:09 +03:00