misagh
962b02b079
one last step before tests
2018-11-25 22:02:59 +01:00
misagh
fb7b65c909
time in force drafted
...
time in force drafted
2018-11-25 20:44:40 +01:00
misagh
3e29fbb17a
stoploss on exchange added as a parameter to order_types
2018-11-25 17:22:56 +01:00
Matthias
21a093bcdb
extract resolvers to IResolvers and it's own package
2018-11-24 20:00:02 +01:00
misagh
fea77824d0
handle stop loss on exchange added
2018-11-23 15:17:36 +01:00
misagh
3a1c378325
typing bugs
2018-11-22 17:14:22 +01:00
misagh
bbe8e4e494
flake8
2018-11-22 17:07:37 +01:00
misagh
bfbdddff26
stoploss limit order added to exchange
2018-11-22 16:24:40 +01:00
misagh
238dd6413c
Merge branch 'develop' into stoploss_on_exchange
2018-11-22 09:39:01 +01:00
misagh
b50250139e
Drafting stoploss on exchange
2018-11-19 20:02:26 +01:00
Matthias
968184ef0d
Swap default mode to all limit (defaults to how it was before)
2018-11-17 19:40:53 +01:00
Matthias
54a86d72f2
Raise error if one of the required ordertypes is not present
2018-11-17 12:59:16 +01:00
Matthias
3ab0cf49af
Add order_types to sample strategy
2018-11-17 10:26:15 +01:00
Matthias
24ed9a8b7d
Add loading order_types from config file
2018-11-17 10:14:18 +01:00
Matthias
6a71f80a9e
Add support for different order types
2018-11-15 06:58:24 +01:00
misagh
6d63de1932
removing unnecessary lib
2018-11-07 18:15:04 +01:00
misagh
6838ae0591
conflict resolved => new backtest low and high params
2018-11-07 17:56:21 +01:00
misagh
bcecaa69d4
removing global variable modification
2018-11-06 19:41:46 +01:00
Matthias
8c93760a6d
simplify some code
2018-10-30 20:23:31 +01:00
Matthias
3679b0948a
cleanup interface
2018-10-30 19:37:45 +01:00
Matthias
233c442af9
Adjust backtest so sell uses stop-loss or roi value as closerate
2018-10-29 19:27:23 +01:00
misagh
25daf3a0f7
Merge branch 'develop' into money_mgt
2018-10-23 19:33:13 +02:00
misagh
8b3631d1ac
make “if condition” more readable
2018-10-01 17:49:27 +02:00
misagh
ad666ac65c
autopep8 corrected
2018-10-01 17:33:18 +02:00
Matthias
334e7553e1
Fix hyperopt not working after update of scikit-learn to 0.20.0
2018-09-29 13:49:27 +02:00
misagh
75ba6578a3
unused library + trailing whitespaces removed.
2018-09-26 16:36:41 +02:00
misagh
cf37093e5a
empty dict default removed
2018-09-21 22:07:12 +02:00
misagh
ef52c7b510
edge positioning put into package
2018-09-21 17:41:31 +02:00
misagh
5f68834ccc
merging develop into money_mgt (updated to async)
2018-09-14 19:20:49 +02:00
misagh
13ffd88053
merging develop into async. requirement.txt conflict resolved
2018-09-06 20:28:07 +02:00
misagh
a74953cb4d
Draft of money management
2018-09-06 16:59:51 +02:00
Matthias
3fd00c9a9c
Merge branch 'develop' into ta_on_candle
2018-09-01 20:01:18 +02:00
Matthias
2ec5a536aa
Fix comment location
2018-09-01 19:57:12 +02:00
Matthias
d35d3bb38c
rename ta_on_candle to process_only_new_candles
...
be more expressive
2018-09-01 19:52:40 +02:00
Matthias
cb46aeb73c
rename variable to be more expressive
2018-09-01 19:50:45 +02:00
Matthias
54ddd908e6
Merge branch 'develop' into ccxt-async
2018-08-29 19:43:09 +02:00
Samuel Husso
7376a0d538
Merge pull request #1131 from freqtrade/parametrize_outdated_ticker
...
parametrize outdated_offset to simplify sandbox usage
2018-08-22 07:02:38 +03:00
Matthias
8f41e0e190
Use setting in 'exchange' dict
2018-08-20 20:01:57 +02:00
Samuel Husso
98240e0e48
Merge pull request #1154 from freqtrade/min_roi_output
...
Output min-roi setting when overwriting from config
2018-08-16 20:18:49 +03:00
Matthias
4a8c120926
Output min-roi setting when overwriting from config
2018-08-16 11:35:41 +02:00
Matthias
d007ac4b96
check version explicitly, use "python" in venv
2018-08-15 08:37:20 +02:00
Matthias
e3e79a55fa
Fix _abc_data pickle error in 3.7
2018-08-12 10:16:51 +02:00
Matthias
b008649d79
Remove unnecessary quote escaping
2018-08-09 20:13:07 +02:00
Matthias
3b2f161573
Add test for ta_on_candle override
2018-08-09 20:12:45 +02:00
Matthias
e36067afd3
refactor candle_seen to private
2018-08-09 19:58:47 +02:00
Matthias
c4e43039f2
Allow control from strategy
2018-08-09 19:24:00 +02:00
Matthias
98730939d4
Refactor to use a plain dict
...
* check config-setting first - avoids any call to "candle_seen"
eventually
2018-08-09 13:02:41 +02:00
Matthias
c9580b31d0
parametrize outdated_offset to simplify sandbox usage
2018-08-07 09:25:21 +02:00
creslin
10ab6c7ffa
Removed unneeded property code
2018-08-03 09:14:16 +00:00
creslin
1fef384bba
flake 8
2018-08-03 08:40:16 +00:00
creslin
d2a728cebd
flake 8
2018-08-03 08:38:13 +00:00
creslin
6b3e8dcc33
holds a dict of each pair last seen.
...
to correctly manage the last seen of a pair.
2018-08-03 08:33:37 +00:00
creslin
c38d94df2d
Resubmitting - because GIT.
...
This is the last cut that was in #1117 before i closed that PR
This PR allows a user to set the flag "ta_on_candle" in their config.json
This will change the behaviour of the the bot to only process indicators
when there is a new candle to be processed for that pair.
The test is made up of "last dataframe row date + pair" is different to
last_seen OR ta_on_candle is not True
2018-08-03 07:33:34 +00:00
Matthias
337d9174d9
Flake8 fixes
2018-08-02 20:11:27 +02:00
misagh
2ec2f1abce
async branch updated to reflect develop branch changes
2018-08-02 16:48:21 +02:00
Matthias
9c08cdc81d
Fix typehints
2018-08-01 21:58:32 +02:00
Matthias
038e97667f
Merge branch 'develop' into BASE64
2018-08-01 07:26:13 +02:00
Gert
b83487cc36
added required changes
2018-07-30 13:00:08 -07:00
Matthias
787d6042de
Switch from pair(str) to metadata(dict)
2018-07-29 20:56:23 +02:00
Matthias
82680ac6aa
improve docstrings for strategy
2018-07-29 20:55:40 +02:00
Matthias
39cf0decce
don't use __annotate__
...
it is only present when typehints are used which cannot be guaranteed
for userdefined classes
2018-07-29 20:55:40 +02:00
Matthias
f286ba6b87
overload populate_indicators to work with and without pair argumen
...
all while not breaking users strategies
2018-07-29 20:55:40 +02:00
Matthias
791c5ff071
update comments to explain what advise methods do
2018-07-29 20:55:37 +02:00
Matthias
8a9c54ed61
use new methods
2018-07-29 20:55:37 +02:00
Matthias
df8700ead0
Adapt after merge from develop
2018-07-29 20:55:37 +02:00
Matthias
aa772c28ad
Add tests for advise_indicator methods
2018-07-29 20:55:37 +02:00
Matthias
7300c0a0fe
remove @abstractmethod as this method may not be present in new
...
strategies
2018-07-29 20:55:06 +02:00
Gert Wohlgemuth
5871488858
fixed errors and making flake pass
2018-07-29 20:55:06 +02:00
Gert Wohlgemuth
19b9966417
satisfied flake8 again
2018-07-29 20:55:06 +02:00
Gert Wohlgemuth
57f683697d
revised code
2018-07-29 20:55:06 +02:00
Gert Wohlgemuth
296d3d8bbe
working on refacturing of the strategy class
2018-07-29 20:55:06 +02:00
Samuel Husso
187e039a58
Merge pull request #1034 from freqtrade/feat/positive_sl_limit
...
add offset for positive trailing stop loss
2018-07-29 08:30:29 +03:00
Matthias
df3e76a65d
Remove legacy code, fix missed call
2018-07-26 19:11:51 +01:00
Matthias
484103b957
extract get_history_data from get_signal
2018-07-26 18:23:42 +01:00
Matthias
060469fefc
Add stuff after rebase
2018-07-19 20:12:20 +02:00
Matthias
4fb9823cfb
fix rebase problem
2018-07-19 19:50:06 +02:00
Matthias
a452864b41
Use namedtuple for sell_return
2018-07-19 19:39:08 +02:00
Matthias
4059871c28
Add get_strategy_name
2018-07-19 19:34:14 +02:00
Matthias
838b0e7b76
Remove unused import
2018-07-19 19:29:31 +02:00
Matthias
0147b1631a
remove optional from selltype
2018-07-19 19:27:33 +02:00
Matthias
f991109b0a
Add sell-reason to sell-tree
2018-07-19 13:29:42 +02:00
Matthias
6bb7167b56
Add sellType enum
2018-07-19 13:25:48 +02:00
Matthias
c0a7725c1f
Add stoploss offset
2018-07-19 13:22:44 +02:00
Matthias
64f933477d
Merge pull request #1007 from freqtrade/remove-analyze
...
Remove Analyze
2018-07-19 10:12:36 +02:00
Janne Sinivirta
85fd4dd3ff
rename analyze.py to exchange_helpers.py
2018-07-17 21:26:52 +03:00
Janne Sinivirta
dbc3874b4f
__init__ must return None to please mypy
2018-07-17 10:47:15 +03:00
Janne Sinivirta
aeb4102bcb
refactor Analyze class methods to base Strategy class
2018-07-16 08:23:39 +03:00
Matthias
b4ba641131
Update config dict with attributes loaded from strategy
2018-07-15 09:01:08 +02:00
Gert Wohlgemuth
1897a1cb6a
fixed mypy issues, seriosuly...
2018-07-05 16:10:38 -07:00
Gert Wohlgemuth
58879ff012
fixed braket
2018-07-05 15:01:53 -07:00
Gert Wohlgemuth
e1f5745f59
Update resolver.py
2018-07-05 14:50:23 -07:00
Gert Wohlgemuth
1c48902e64
Merge branch 'develop' into BASE64
2018-07-05 14:40:04 -07:00
Gert Wohlgemuth
8bbee4038b
integrated BASE64 encoded strategy loading
2018-07-05 14:30:24 -07:00
Janne Sinivirta
bf4d0a9b70
sort imports
2018-07-04 10:31:35 +03:00
gcarq
4ea5fcc661
resolver: don't fail if user_data can't be found
2018-06-23 14:42:22 +02:00
gcarq
9c66c25890
resolver: use current folder instead of script folder to find user_data
2018-06-23 14:34:36 +02:00
gcarq
c40e6a12d1
move logic from hyperopt to freqtrade.strategy
2018-06-23 11:13:49 +02:00
xmatthias
a8bf5092e8
add ignore explanation
2018-06-02 14:18:57 +02:00
xmatthias
e28973c50a
fix flake8
2018-05-31 22:17:46 +02:00
xmatthias
3fb1dd02f1
add typehints and type: ignores
2018-05-31 22:00:46 +02:00
xmatthias
cf34b84cf1
add attributes with typehints
2018-05-31 21:59:22 +02:00
xmatthias
f4f821e88e
add typehints
2018-05-31 21:44:18 +02:00
gcarq
306885e174
Merge branch 'develop' into feat/objectify-ccxt
2018-05-02 22:49:55 +02:00
gcarq
403f59ef45
use native python logger
2018-04-21 20:47:06 +02:00
enenn
ce3603f84f
Change ticker_interval from 5 to 5m in default strategy
2018-04-07 21:31:52 +02:00
enenn
db46ad6502
Change ticker interval from minutes as integer to string (1m, 5m, 1h,...)
2018-04-07 16:57:47 +02:00
Michael Egger
9019f6492f
define constants on module level ( #596 )
2018-04-02 16:42:53 +02:00
gcarq
f78044da6d
fix method docs
2018-03-27 16:32:58 +02:00
gcarq
a356edb117
implement '--strategy-path' argument
2018-03-27 16:32:58 +02:00
gcarq
5fb6fa38aa
apply __slots__ to resolver and reintroduce type conversations
2018-03-27 16:32:58 +02:00
gcarq
99e890bc99
simplify resolver constructor
2018-03-27 16:32:58 +02:00
gcarq
280886104c
strategy: remove unneeded population methods in resolver
2018-03-27 16:32:58 +02:00
gcarq
b254ff9b41
Merge 'develop' into feature/enhance-strategy-resolving
2018-03-26 16:23:25 +02:00
gcarq
fa7f74b4bc
use native python logger
2018-03-25 21:43:00 +02:00
gcarq
3f8d7dae39
make name a required argument and add fallback to getEffectiveLevel
2018-03-25 21:42:03 +02:00
gcarq
a38c2121cc
adapt tests
2018-03-25 15:12:39 +02:00
gcarq
b4d2a3f495
refactor StrategyResolver to work with class names
2018-03-25 15:12:39 +02:00
gcarq
6e5c14a95b
fix mutable default argument
2018-03-25 15:12:39 +02:00
gcarq
ca9c5edd39
rename Strategy into StrategyResolver
2018-03-25 15:12:39 +02:00
gcarq
33ddc540cf
don't shadow built-in name tuple
2018-03-20 19:50:04 +01:00
gcarq
d2aea7bdc1
optimize imports
2018-03-20 19:50:04 +01:00
Gérald LONLAS
e6732e01e1
Use ticker_interval defined in Strategy() instead of a mix between strategy and config file ( #540 )
2018-03-15 23:48:22 +01:00
Gerald Lonlas
5a6f6c7138
Merge commit 'd13d6736b92ebfed1e172b60c77029e6c10b29a6' into feature/objectify
2018-03-04 00:51:49 -08:00
Gerald Lonlas
38510d4b03
Merge commit '1134c81aad049d4357c8f299ffc801218f3d9574' into feature/objectify
2018-03-03 17:26:06 -08:00
Gerald Lonlas
0632cf0f44
Merge commit 'aa7aeb046ef72412cadd094666efc8e4c503ef2d' into feature/objectify
2018-03-02 23:28:36 -08:00
Gerald Lonlas
390501bac0
Make Pylint Happy chapter 1
2018-03-03 09:33:54 +08:00
Gerald Lonlas
db67b10605
Remove Singleton from Strategy()
2018-03-03 09:33:54 +08:00
Janne Sinivirta
459611516c
enable stochastic and fisherRSI in default strategy
2018-02-14 13:02:31 +02:00
Janne Sinivirta
340ab0214b
add generic fishers inverse transformation with smoothing
2018-02-14 10:17:43 +02:00
Janne Sinivirta
2ce03ab1b5
make Strategy store roi and stoploss values as numbers to avoid later casting
2018-02-11 15:25:30 +02:00
Janne Sinivirta
5c02f0983d
let Strategy hold a sorted roi map
2018-02-06 21:37:11 +02:00
Gérald LONLAS
d24cd89304
Remove Strategy fallback to default strategy ( #490 )
...
* Remove Strategy fallback to default strategy
2018-02-02 11:01:09 +02:00
Gerald Lonlas
9f8539f13e
Remove unused code on Strategy interface
2018-01-28 13:21:25 -08:00
Gerald Lonlas
776dd4a0d5
Increase pylint score on strategy
2018-01-27 21:26:57 -08:00
Gerald Lonlas
67c6c380e1
Increase pylint score for fiat_convert
2018-01-27 18:23:08 -08:00
Janne Sinivirta
c400d15ed1
rip out hyperopt things from strategy, add indicator populating to hyperopt
2018-01-23 16:56:12 +02:00
Gerald Lonlas
41aa8f18fb
Add ticker_interval support in strategy class
2018-01-22 20:51:39 -08:00
Gerald Lonlas
3e8088d99c
Avoid hyperopt to fail if a guard was removed from SPACE but still defined in populate_buy_trend()
2018-01-22 20:51:39 -08:00
Gerald Lonlas
be75522507
Fix flake8
2018-01-22 20:51:39 -08:00
Gerald Lonlas
dfd61bbf1d
Implement More triggers and guards from PR#394
2018-01-22 20:51:39 -08:00
Gerald Lonlas
c46d78b4b9
Decouple strategy from analyse.py
2018-01-22 20:51:39 -08:00