Commit Graph

105 Commits

Author SHA1 Message Date
LoveIsGrief
f5d09ed0b0
feat: support loading strategies from packages using the python import logic
This is an improvement to simply checking subdirectories for python files as we can use
 the entirety of python import logic.
It's thus possible to import from other files within the `strategies` folder.
Additionally, this allows sharing strategies with more data than just python files (e.g a README.md).
2021-09-27 11:59:29 +02:00
JoeSchr
04b4deab58
Update strategy-advanced.md
Add `` for consistency
2021-08-22 20:14:36 +03:00
Matthias
d97fc1e484
Update docs/strategy-advanced.md 2021-08-18 19:55:11 +02:00
axel
9469c6dfa9 small cosmetic changes in doc related to custom entry and exit exemple 2021-08-18 05:10:29 -04:00
axel
2fb9f6e2f4 rename custom price max distance option in config, update formula and test associated 2021-08-18 05:07:37 -04:00
axel
f08d673a52 add details and exemple of custom_price_max_distance_percent usage in doc 2021-08-16 23:26:08 -04:00
Matthias
0f7ddabec8 Slightly reword documentation 2021-08-14 09:05:03 +02:00
axel
0a6c0c429a add a note concerning default custom entry or exit price in documentation 2021-08-13 11:12:33 -04:00
axel
0985b11267 add doc for custom exit price 2021-08-05 18:16:16 -04:00
axel
5284112b69 fix in custom entry function output,remove changes related to outdated prices, doc exemple minor changes 2021-08-03 15:57:23 -04:00
axel
f11f5d17e9 add feature custom entry price for live 2021-08-03 15:57:23 -04:00
Matthias
138b126d03
Merge pull request #5299 from kevinjulian/feat/kevinjulian/add-buy-signal-name
Add buy signal name
2021-07-30 08:23:11 +02:00
Rik Helsen
1e32a3ca09 📝 Docs - StrategyAdvanced - Added current_time to confirm_trade_entry/exit() examples 2021-07-25 15:54:49 +02:00
kevinjulian
5fe18be4b5 add note buy_tag and split 3 assignment for get_signal 2021-07-23 01:25:15 +07:00
Kevin Julian
dd923c3471
Update docs/strategy-advanced.md
Co-authored-by: Matthias <xmatthias@outlook.com>
2021-07-23 01:16:24 +07:00
Kevin Julian
65b4705b67
Update docs/strategy-advanced.md
Co-authored-by: Matthias <xmatthias@outlook.com>
2021-07-23 01:16:10 +07:00
kevinjulian
49886874aa rename to buy_tag 2021-07-21 20:05:35 +07:00
Kevin Julian
edf9c08f06
Merge branch 'develop' into feat/kevinjulian/add-buy-signal-name 2021-07-20 19:19:46 +07:00
kevinjulian
d31d38a85f add doc 2021-07-20 16:39:20 +07:00
Matthias
7ea0a74c53 Default to proposed stake 2021-07-11 14:11:41 +02:00
Rokas Kupstys
0e4466ca1e Implement strategy-controlled stake sizes. Expose self.wallet to a strategy. 2021-07-11 12:38:58 +03:00
Matthias
791dfd9ba3 Fix some doc typos 2021-07-04 14:02:11 +02:00
Nicolas Menescardi
c0d3a31ddb
Update strategy-advanced.md
fix some typos
2021-05-24 11:08:17 -03:00
JoeSchr
21d986710d
Fix missing not in empty check
See discussing here: https://github.com/freqtrade/freqtrade/pull/4963#discussion_r633457596
seems that request was only partially implemented
2021-05-22 13:26:59 +02:00
Matthias
1a30e39222 Move squeeze into if block 2021-05-21 08:06:27 +02:00
Robert Caulk
860a4d2390
update doc to reflect better empty dataframe check 2021-05-17 11:40:57 +02:00
Rokas Kupstys
330fb538a9
Couple tweaks for docs. 2021-05-14 10:43:48 +03:00
Rokas Kupstys
9bb6ba086b
Update docs/strategy-advanced.md
Co-authored-by: Matthias <xmatthias@outlook.com>
2021-05-12 17:15:38 +03:00
Rokas Kupstys
ad4c51b3c5 * Added "Dataframe access" section showcasing how to obtain dataframe and use it to get last-available and trade-open candles.
* Fix custom_sell() example to use rsi from last-available instead of trade-open candle, add a pointer to "Dataframe access" section for more info.
* Simplify "Custom stoploss using an indicator from dataframe example" greatly, add a pointer to "Dataframe access" section for more info.
2021-05-12 09:30:35 +03:00
Matthias
bcab44560a Fix doc typo 2021-05-11 06:25:23 +02:00
Robert Davey
425d97719a
Update strategy-advanced.md
Update custom_sell() example to comment that the current trade row is at trade open as written. Change "abstain" to something clearer for non-fluent English speakers.
2021-05-10 19:42:37 +01:00
Matthias
00e93dad02 Fix mistake in the docs 2021-05-09 10:04:56 +02:00
Rokas Kupstys
17b9e898d2 Update docs displaying how to get last available and trade-open candles. 2021-05-08 18:40:49 +03:00
Rokas Kupstys
6af4de8fe8 Remove dataframe parameter from docs. 2021-05-08 10:29:47 +03:00
Matthias
6b6270db13 Add hint about "sell_profit_only" to docs 2021-05-02 10:37:54 +02:00
Matthias
e01bc7717b
Merge pull request #4832 from JoeSchr/patch-3
Add to custom_sell() documentation
2021-05-01 17:34:10 +02:00
Matthias
ca0749dfdd
Update strategy-advanced.md 2021-05-01 16:58:14 +02:00
JoeSchr
f2bd70dfc2
Add sentence about how it differs from custom_stoploss() 2021-04-29 13:07:22 +02:00
JoeSchr
cf839e36f3
Add to custom_sell() documentation
- Flesh out infos about return type 
- give quick example at beginning to get reader in right mindset what this does and why it's useful
2021-04-29 12:49:51 +02:00
JoeSchr
83708ae045
Update strategy-advanced.md
Remove untrue comment probably left-over from more intricate example
2021-04-29 12:16:02 +02:00
Matthias
5bc908870f Fix documentation comment missalignment 2021-04-29 09:07:47 +02:00
Matthias
3285f6caa3 Improve wording in Note box 2021-04-28 20:42:15 +02:00
Matthias
7c8a367442 Update docs to not promote stoploss / take-profit 2021-04-28 20:36:06 +02:00
Matthias
dbf33271b5 Small doc changes 2021-04-26 19:52:26 +02:00
Rokas Kupstys
9c21c75cf5 Fix inaccuracy in docs. 2021-04-25 13:18:35 +03:00
Rokas Kupstys
e58fe7a8cb Update custom_sell documentation. 2021-04-25 09:48:40 +03:00
Rokas Kupstys
004550529e Document dataframe parameter in custom_stoploss(). 2021-04-25 09:48:40 +03:00
Rokas Kupstys
a77337e424 Document IStrategy.custom_sell. 2021-04-25 09:48:40 +03:00
JoeSchr
c9c039d640
remove copy() from custom_info example
`set_index` automatically copies if not stated otherwise with `inplace=True`
> inplacebool, default False
If True, modifies the DataFrame in place (do not create a new object).

from: https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.set_index.html?highlight=set_index#pandas.DataFrame.set_index
2021-04-15 15:21:28 +02:00
Matthias
69799532a6 Document usage of open_date_utc
closes #4580
2021-03-20 08:13:56 +01:00