Comments (5)
the only place this may come from is the below - but that's been changed a while ago so make sure to use the latest version of freqtrade (2020.01 or later) and update this repository (git pull
).
freqtrade-strategies/user_data/strategies/InformativeSample.py
Lines 87 to 88 in 20941f7
Now i would not encourage you to run this strategy - it's VERY basic and is just there to prove the point - not necessarily to be used to make gains.
from freqtrade-strategies.
:) yes, just to understand the informative pair topic which I like to implement in one of my strategies
from freqtrade-strategies.
Another quick question:
this part of the strategy file I need to change?
def informative_pairs(self):
"""
Define additional, informative pair/interval combinations to be cached from the exchange.
These pair/interval combinations are non-tradeable, unless they are part
of the whitelist as well.
For more information, please consult the documentation
:return: List of tuples in the format (pair, interval)
Sample: return [("ETH/USDT", "5m"),
("BTC/USDT", "15m"),
]
"""
return [(f"{self.config['stake_currency']}/USDT", self.ticker_interval)]
to for example:
return [("ETH/USDT", "5m")]
from freqtrade-strategies.
well you can, then it'll use 5m tickers for that "informative" pair.
the example (return [(f"{self.config['stake_currency']}/USDT", self.ticker_interval)]
) uses the same interval the strategy uses.
That means for backtesting for example - you can run freqtrade backtesting --strategy InformativeSample -i 1h
- and it'll automatically use the 1h ticker of "BTC/USDT".
In your case, it would always use 5m for the informative pair. That means when combining the tickers, you need to be careful so the data is actually matching.
from freqtrade-strategies.
mmmh okay, my intention / idea was the following -> using BTC/USDT long time frame (e.g. 1d) as informative pair to get an idea in what direction the market is going (BTC as pull) - for example via EMA50 based on 1d BTC/USDT informative pair. This information I like to use as guard for my 15m strategy which is using 15m data for triggers & guards. With this strategy I like to trade Altcoins.
Is the InformativePair approach viable for this concept? Or better using re-sampling?
And how would I need to adapt the your strategy template? my stake currency is USDT, I like to have as informative pair BTC/USDT and want to trade lets say XRP/USDT
from freqtrade-strategies.
Related Issues (20)
- External Signal provider HOT 3
- GodStra strat can't find ta module HOT 3
- How to get funding rate to use as indicator on freqtrade HOT 8
- Volatility Strategy HOT 2
- Lookahead for Strategy002 and 004 HOT 5
- cannot use the timeframe i want HOT 4
- GodStra not results available HOT 1
- GodStraHo: Impossible to load Strategy 'GodStraHo'. This class does not exist or contains Python code errors.
- GodStraHo: Impossible to load Strategy 'GodStraHo'. This class does not exist or contains Python code errors. #294 HOT 3
- Unable to retrieve candlestick information from dataframe HOT 1
- BB_RSI_ATR HOT 5
- Momentum Strategy HOT 4
- ta not installing on Google cloud instance and all futures strategies are not working HOT 3
- No module named 'ta' HOT 1
- incorrect times displayed in FreqUI HOT 4
- AlphaTrend Strategy HOT 3
- Error using MACD indicator from qtpylib indicators.py
- WARNING - Unable to analyze candle (OHLCV) data for pair {pair}: Dataframe returned from strategy has mismatching last close price. HOT 2
- finta problem HOT 2
- supertrend different timeframe
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freqtrade-strategies.