Comments (9)
well technical (this module) does provide a fibonacci_retracements()
method.
I've not used that myself though.
by the (quick) looks of it - you'll need to be careful as it seems to be using the full history - which means it will have a lookahead bias in backtesting.
from technical.
But what about the live candles? From what I know freqtrade returns only the last 200 or 400 candlesticks in live mode, is there a way to get more than 200 in live mode? So the strategy can lookback more days on a 5min candlestick?
from technical.
The exact number of candlesticks varies by exchange - but it's usually around 1000 for most supported exchanges.
the really available amount can also be changed (within reason) by startup_candle_count
.
from technical.
Thanks, but 1000 x 5min = 3.4 days, still not enough for fibonacci or trend lines, to convert to 1h..4h and also apply indicators on that.
Also it is not a good idea to read 500-1000 candles at every cycle, it may trigger a rate limit on the exchange for too many requests.
The best solution would be to have the entire selected candle history in memory and just append the new ones, this would also speed up the the reading cycles and can be combined with batch reading of multiple assets which in turn will leave room for more order requests.
from technical.
1000 candles is usually one request.
If you need longer data, best use informative pairs.
from technical.
I know it's one request, but it slows down the bot cycle speed.
what you mean informative pairs?
from technical.
you're wrong in thinking that 1 request for 1 candle + combining the data reliably (!) is faster than getting 1 request. the slow part is the request - which is always 1. This is however not the place to discuss this - therefore i consider this topic concluded.
Please refer to the documentation if you don't understand something. We try to have most possibilities listed there.
from technical.
It is not specified in the documentation how can I have longer than 1000 candles in live mode with informative pairs
from technical.
You can use a longer timeframe - which will still give you 1000 candles, but can look back multiple years (assuming 1d candles).
from technical.
Related Issues (20)
- Trend Step Channel - appreciate it HOT 4
- resample_to_interval date shifted HOT 1
- Help with Trend Trader Strategy HOT 1
- ichimoku different value proposal HOT 1
- How to import external data to populate entry/exit trend conditions HOT 14
- Multiple timeframe merge HOT 10
- Laguerre RSI wrong computation HOT 3
- ```crossed``` function throws error with numpy integers
- utils bug HOT 4
- How to plot segtrends or gentrends using freqtrade plot-dataframe ? HOT 1
- Phase Change Index HOT 18
- I try to convert Predictive Ranges [LuxAlgo] to the py, whats the problem? HOT 7
- Involvement of Heikenashi candles could be helpful in trend prediction HOT 1
- Help needed with: AttributeError: 'SSL' object has no attribute 'copy' HOT 3
- warning util.py
- 16 tests failed HOT 4
- Pandas warning when setting fillna(0) on RMI calc HOT 2
- Issues with PMAX indicator HOT 1
- A few Pinescript lines HOT 2
- Error thrown at numpy_rolling_window HOT 3
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 technical.