Optimize Trading Strategies Using Freqtrade Crypto Trading Bot

  Рет қаралды 86,918

Reanblock

Reanblock

3 жыл бұрын

In this video, I run through how to install and setup Freqtrade Crypto Trading Bot using a basic 'Naive' strategy. I run though backtesting the strategy, optimizing the strategy, running the bot in a sandbox as well as viewing and controlling the bot via Telegram and the Freq Web App UI. NOTE That I do not endorse using this bot for real trading and I am not providing any financial or trading advice here. I am merely showing how you can use this tool to try out your own strategies should you wish.
Useful links:
Freqtrade Docs: www.freqtrade.io/en/stable/
DevBootstrap Github Repo: github.com/devbootstrap/optim...
RSI Indicator: www.investopedia.com/terms/r/...
Bollinger Band Indicator: www.investopedia.com/terms/b/...
Sharpe Ratio Loss Function: www.investopedia.com/terms/s/...
Contents:
This video is quite long, so if you want to jump to specific parts, below are the timestamps for each of the major sections covered:
00:06:59 Install Freqtrade via Docker
00:12:04 Config the Bot
00:16:47 Create a 'Naive' Strategy
00:25:15 Run in Sandbox mode
00:31:17 Download historical OHLCV datasets
00:34:09 Backtest the 'Naive' Strategy
00:40:11 Plot the results on a graph
00:46:42 Optimize the strategy using Hyperopt
01:04:35 Update the 'Naive' Strategy
01:17:15 Run the updated strategy in Sandbox mode
01:21:33 View the trades via the Freqtrade Web App
01:26:38 View the trades via a Telegram Bot
If you like this video please like and subscribe. I'll be producing more videos as soon as I can!
Feel free to donate and help me to buy a coffee or even a new MacBook pro! ;)
BTC: bc1q3fddwnufucdkpqz6fzj03xsskaqjxv8dag90x2
ETH: 0x67cC81389f44c0B980F93dc003300a31aD5dadA2
Many thanks everyone and I appreciate your support in any way!

Пікірлер: 209
@scienceofart9121
@scienceofart9121 3 жыл бұрын
You are awesome, thank you so much ! I hope this channel grows exponentially, it is definitely a hidden gem
@frankgibbs9509
@frankgibbs9509 3 жыл бұрын
Your timing could not have been better. Exactly what I was looking for. I sent you some eth!
@WestGat
@WestGat 3 жыл бұрын
Thanks for this tutorial. Was able to get freqtrade going in a docker on my Rpi in no time!
@marcopi79
@marcopi79 3 жыл бұрын
This is absolute GOLD... thank you ever so much for your hard work
@MrChocoMoose
@MrChocoMoose 3 жыл бұрын
A phenomenal tutorial to a phenomenal tool. Thank you, this is great value.
@Reanblock
@Reanblock 3 жыл бұрын
Thank you so much!
@GerrardTorres7665
@GerrardTorres7665 3 жыл бұрын
Fantastic video and also serves quite well as an introduction to the bot from a novice perspective. I suggest that maybe you include that in the title as this video would have been very helpful when I first started looking into the bot
@amorotto
@amorotto 3 жыл бұрын
If that video was just one week earlier! I spent the last week getting used to the codebase and documentation, after I lost hope in finding a youtube video that would help. Would be great to have a video on deploying the bot on the cloud! Thanks for the good work! :)
@ApakukiNayacakalou
@ApakukiNayacakalou 2 жыл бұрын
Great vid! One addition: In the config file @18:15 ROI is: between 0 to 30 minutes, if a profit target of 4% is hit then sell; then between 30 to 60 minutes if 2% profit is hit then sell; then anything after 60 minutes sell if 1% target is hit. Cheers!
@matheuscastro271
@matheuscastro271 2 жыл бұрын
very helpful, i was looking for a explanation like this for days. thank you
@lightning_dynamics
@lightning_dynamics 3 жыл бұрын
thx for this tutorial, help a lot mate getting to run my own strategy independent and decentral
@gdawg77123
@gdawg77123 2 жыл бұрын
Great tutorial! Whoever filmed this tutorial is a saint!
@daniologabriel9236
@daniologabriel9236 3 жыл бұрын
BTW fantastic tutorial , I understood every step and you was very clear. I do not understand if I can run more strategies at the same time, probably not. I hope you will continue with your screencast , personally I'm very interested to Freqtrade Strategies (especially startegies which can follow the trend!) and Hyperopts and I hope you will do other video with these arguments. Thank you !
@mohammadaldoh2381
@mohammadaldoh2381 3 жыл бұрын
really thank you buddy! you saved me from paying a lot of money to get this done :D
@toenil
@toenil 2 жыл бұрын
Thanks you so much ! I was struggling to install it who helped me a lot !
@stgator24
@stgator24 3 жыл бұрын
Great video and thank you for the clarity in explanations!
@Reanblock
@Reanblock 3 жыл бұрын
My pleasure!
@user-km7qn6bo6h
@user-km7qn6bo6h 3 жыл бұрын
Great tutorial! Thank you very much!
@OrionM42
@OrionM42 3 жыл бұрын
Thanks for your efforts to create such a useful video...👍
@ahmadasgharianrezaei6846
@ahmadasgharianrezaei6846 2 жыл бұрын
Well done on the tutorial. It's nice to see that in practice.
@Reanblock
@Reanblock 2 жыл бұрын
Thank you!
@NathanRhoda
@NathanRhoda 3 жыл бұрын
Awesome Video. Did a few online courses on Freqtrade and this video summed up most of it in less than 2 hours. Thanks for this definitely subscribing to this channel.
@Reanblock
@Reanblock 3 жыл бұрын
Great to hear!
@DawidMaksymow
@DawidMaksymow 3 жыл бұрын
Thank you, explaining strategies, pro. all best
@FelipeDouradinho
@FelipeDouradinho 2 жыл бұрын
Very nice, really very nice video. Thank you for spending your time to us
@user-eg4zq8zm3e
@user-eg4zq8zm3e Жыл бұрын
This is SUPER! Much appreciated.
@monstrclips
@monstrclips 3 жыл бұрын
You help me a lot thx for your wonderful work!
@MoawiaAlmardoud
@MoawiaAlmardoud 2 жыл бұрын
Thank you a lot, that was very informative video. Thanks you for your sharing again.
@John_Francis_Vey
@John_Francis_Vey Жыл бұрын
MUCH better than some of the tutorials than I've seen from the more "popular" Freqtrade Channels. Please do moar. Thank you.
@Reanblock
@Reanblock Жыл бұрын
Thank you so much John!
@sharkonet3636
@sharkonet3636 3 жыл бұрын
Great! Let's now implement the Elliott-wave strategy on this 😎
@Abdien
@Abdien 3 жыл бұрын
Great Content, appreciate your time!
@avibrazil
@avibrazil 3 жыл бұрын
This tutorial is amazing and I'm testing it right now.
@092692pedro
@092692pedro 2 жыл бұрын
Did you got goods results ?
2 жыл бұрын
Very clear and very usefull. Thank you very much
@saitmarasloglu9403
@saitmarasloglu9403 3 жыл бұрын
Great video thanks
@bukute122
@bukute122 2 жыл бұрын
Thanks for this tutorial!
@mzsrtgzr2
@mzsrtgzr2 3 жыл бұрын
thanks you. great intro!
@renu2851
@renu2851 3 жыл бұрын
Excellent tutorial!!
@eoindennehy2165
@eoindennehy2165 2 жыл бұрын
simply awesome video!
@ricowallaby
@ricowallaby 3 жыл бұрын
Great video thanks!
@user-fh3sr2lr2x
@user-fh3sr2lr2x 2 жыл бұрын
wow awesome!! this video helped a lot.
@mohamadsajedi5857
@mohamadsajedi5857 2 жыл бұрын
awesome my friend.. thank you
@ursokind
@ursokind 2 жыл бұрын
Insane... this tutorial is priceless... I am totally new to freetrade, python, etc. I have basic programming though and this tutorial helps me a lot 32:30 - how to populate pair data for the last one month for backtesting purpose
@robin5845
@robin5845 2 жыл бұрын
Did you find the solution?
@ursokind
@ursokind 2 жыл бұрын
@@robin5845 nope... i did not continue my project
@PedroBrandesitsme
@PedroBrandesitsme 2 жыл бұрын
If I Can ask… You got good results?
@ursokind
@ursokind 2 жыл бұрын
@@PedroBrandesitsme i dropped my project and bought a ready made robot and focus on tweaking the bot to run based on my parameter
@medi8001
@medi8001 2 жыл бұрын
@@ursokind where did you buy your bot?
@mark-johnhenry2465
@mark-johnhenry2465 2 жыл бұрын
This is awesome. Cheers
@vishalpatil8631
@vishalpatil8631 Жыл бұрын
great tutorial!
@89stoev
@89stoev 3 жыл бұрын
Thank you !
@jaa185
@jaa185 3 жыл бұрын
Great job!
@melevent
@melevent 2 жыл бұрын
You are legendary !
@kryptorick5120
@kryptorick5120 2 жыл бұрын
In the interface version 3 of freqtrade, some of the syntax seems to have changed. The bb indicator written as in the video returns errors in the logs. Need to look into it some more but this great tutorial might deserve a 10 min video to highlight changes since version 2
@ivanbatman
@ivanbatman 3 жыл бұрын
Brilliant mate
@aboutwong909
@aboutwong909 2 жыл бұрын
great user guide!!😃 btw do u have sample strategy for future trade study?
@Anyone.c
@Anyone.c 2 жыл бұрын
Amazing tutorial!! Can you explain how this can be used for non crypto data?
@kryptorick5120
@kryptorick5120 2 жыл бұрын
As far as I understood, the data download uses the pairs whitelist from config.json and not the pairlist.json file to collect data. Also, in the backtesting command, you do not have to specify where the data is. By default the command will take downloaded data from the corresponding exchange folder inside 'data'. You only need to use --datadir PATH if you want to use a specific set of data, saved elsewhere.
@CrunkZA
@CrunkZA Жыл бұрын
thanks! This comment helped a lot!
@azizmohammed182
@azizmohammed182 2 жыл бұрын
That is amazing. Thank you so much. Also can you make a follow up video on deploying freqtrade to some online server such as Heroku or something else :D
@Yuhisern
@Yuhisern 3 жыл бұрын
Life saviour
@suhaasnarain
@suhaasnarain 3 жыл бұрын
Seems really intriguing. Question. How would I make my bot leverage trade?
@zoeyoneohone
@zoeyoneohone 2 жыл бұрын
At 30:36 how do you open that second command prompt in "workspace"? Sorry if this is a noob question. I know how to open a second terminal obviously but how did you get to "workspace"?
@itachileiva
@itachileiva 2 жыл бұрын
Hi Amazing video, thanks for you motivation so teach this. Please can you share the code of the strategy and the hyperopt ? please, thanks!!!
@truptipanigrahi3016
@truptipanigrahi3016 3 жыл бұрын
hi, what is tradeable balance ration and how you start and close this bot and enter to its terminal again...
@wingchangwow
@wingchangwow 3 жыл бұрын
This is fantastic, thank you! Could it be configured to trade futures? So sending long/short signals instead of buy/sell?
@Reanblock
@Reanblock 3 жыл бұрын
Probably, but I've not tried that yet.
@clementcauffet5672
@clementcauffet5672 3 жыл бұрын
Thanks a lot for this amazing job you've done ! I'm planning to install and run my bot on a Raspberry Pi 3, would you recommend this ? Thanks again !
@james-innes
@james-innes 2 жыл бұрын
Have you tried it? Looking at using a raspberry Pi zero I have
@moogkwon2705
@moogkwon2705 3 жыл бұрын
My hero
@donggeonlee15
@donggeonlee15 2 жыл бұрын
Awesome tutorial! I wonder if you still get profits with using this bot in this bear market. And can you recommend any good strategy for this bot? Many thanks!
@Ilya-di4ok
@Ilya-di4ok Жыл бұрын
Is it possible to enter with open price as backtesting doing? Because for me it's enter on next candle with the same enter price as it was triggered.
@jeepjr
@jeepjr 3 жыл бұрын
congratulations on the channel and video, I wanted your contact because I am wanting to set up a grid robot that will act according to RSI would have and have the function of dragging upwards?
@javierreyes9725
@javierreyes9725 2 жыл бұрын
I have the same problem here. There was an update to Freqtrade and it no longer allows you to do the step-by-step described. Hopefully you can update the page or KZbin video. Thank you!!
@brianmwangi
@brianmwangi 3 жыл бұрын
Awesome
@erkan7068
@erkan7068 2 жыл бұрын
can we run it with Mac M1 and Anaconda installation? I get some errors when I try to follow the steps
@xDDBF
@xDDBF 2 жыл бұрын
What do i do with new version of freqtrade if i want to use your method for BBRSI ?.... some commands for hyperopt isn't working anymore :(
@kryptorick5120
@kryptorick5120 2 жыл бұрын
just an observation, if you've put your telegram token and chat id and it still doesn't work, it might be because you're using a new bot you just created. In this case you have to actually click on the bot name in the last message from botfather in order to open a chat with your bot and click on /start. Once the bot is initiated, if the token & id are valid, it should work.
@garethwilhelm5054
@garethwilhelm5054 2 жыл бұрын
Which application did you use to run the commands? Is it equivalent to Windows PowerShell?
@barendscholtus1786
@barendscholtus1786 2 жыл бұрын
Professor. For buy signals you used RSI>25. That makes no sense though. It ought to be
@princedamageable
@princedamageable 2 жыл бұрын
hello i have been following your tutorial but i am stuck in the new hyperopt segment as it doesn't matches with this older freqtrade .. can you please upload a new video as to how to use hyperopt in new freqtrade using this bbrsi
@king9234
@king9234 Жыл бұрын
谢谢
@jortwiebrens8076
@jortwiebrens8076 2 жыл бұрын
can you help me? when where a hyperopt they say it is a newer version so your method dont work anymore. can you help me fix it
@markpurcell8075
@markpurcell8075 3 жыл бұрын
Thanks so much for this. Which editor did you use?
@neveragny
@neveragny 3 жыл бұрын
visual studio code
@markpurcell8075
@markpurcell8075 3 жыл бұрын
@@neveragny Thanks!
@rudyfernandez5522
@rudyfernandez5522 3 жыл бұрын
Awesome tutorial, been working on my own trading bot, freqtrade seems much more powerful. One question: Is it possible to implement multi-timeframe strategies with it? Thanks a lot!
@Reanblock
@Reanblock 3 жыл бұрын
So far I have only ever run Freqtrade with one strategy at a time and each strategy has one timeframe setting. I've also been considering this and will dig into the options soon.
@fabirabi2510
@fabirabi2510 3 жыл бұрын
I think you can add a method to convert the class strategy timeframe to the desired time frame of the second strategy and run those two strategies in the same class
@cristianmuresan5952
@cristianmuresan5952 2 жыл бұрын
Hello Sir, very good material, thank you. Isnt the stoploss -28% to risky? If I modified stoploss to -10% will I get less profit?
@Reanblock
@Reanblock 2 жыл бұрын
A lower stop loss will cut your losses sooner yes.
@jobihara
@jobihara 3 жыл бұрын
Great Video DevBootStrap. Do you mind doing another video showing how to optimize without creating a hyperopt class file, and then backtest it. I'm using the latest freqtrade with the strategy class and hyperopt in the same file-strategy file. Getting all zeros when backtest. Thanks
@Reanblock
@Reanblock 3 жыл бұрын
Yes, as a matter of fact, I just posted that video today! Here is the link: kzbin.info/www/bejne/oqHEq6mde8qtgrs
@jobihara
@jobihara 3 жыл бұрын
@@Reanblock Thanks a lot. Just seeing this message now, and i've watched the video. Great, looking forward to implementing the changes.
@iamkian
@iamkian 3 жыл бұрын
@ 40:10 This is what would have happend IF the sells / buys did not timeout due to not selling or buying the order! Backtesting and running in real trading are mode are will not have the same results.
@freepluralism6652
@freepluralism6652 Жыл бұрын
thank god youtube has the option to change the speed... nontheless it had some helpful parts
@GOURABDASGUPTAinnovation
@GOURABDASGUPTAinnovation 2 жыл бұрын
Thanks a lot for this vid, I was wondering how do I run in the live account ?
@Reanblock
@Reanblock 2 жыл бұрын
Just use live API keys for your trading account that holds real crypto.
@GOURABDASGUPTAinnovation
@GOURABDASGUPTAinnovation 2 жыл бұрын
@@Reanblock 1 more question, this bot is trading in spot market right, how do I make it trade in futures? I didn't find any good solutions on net, I did change the ccxt config in config.json but it's seems to trade in spot! And, umm is there any way to implement super trend indicator crossover technique in the strategy?
@bullsvsbearsofficial8567
@bullsvsbearsofficial8567 2 жыл бұрын
I am having a problem in vs code when i open remote container anyone can help me Plz? I really need to made a bot
@MsKATODO
@MsKATODO 2 жыл бұрын
As far as I understand, the hyperopt uses a machine learning model in order to adjust the parameters of the strategy, however, those values could become incorrect with the time. I mean, we need to adjust those values after some time. Do you recommend to run the hyperopt all days, one a week?? how often is it recommended to run the hyperopt?
@Reanblock
@Reanblock 2 жыл бұрын
It really depends on what you are trying to do. I would check a machine learning course to learn more about handling data.
@robin5845
@robin5845 2 жыл бұрын
What is "dcr" exactly (32:00) on my mac it says command not found. And where is the pairs file linked. I have tried running the command with docker-compose run instead of "dcr" but id doesn't download anything. It says "about to download pairs []". Thee brackets are empty. Does anyone have an idea?
@BobGramward
@BobGramward 2 жыл бұрын
dcr is docker-compose run, you need to create pairs.json first 31:38
@dmrcr7
@dmrcr7 3 жыл бұрын
Hello and thanks for a grate video. Can someone tell me why no one of my tries get any bey or sell signals, by using trade in dry-run or live mode? Thanks in advance!
@Reanblock
@Reanblock 2 жыл бұрын
Maybe because there are no buy or sell signals during the testing period for the strategy you are using?
@theos2920
@theos2920 3 жыл бұрын
Question: Shouldn't a good trading bot perform better than "market change" itself? In all my back-tests my bot performs very well but most of the time the market outperformed my bot's ROI (also in this video btw). Do you guys have solid strategies that perform better than "market change"? Theoretically, if buy and sell signals based on bollinger bands, rsi, macd, etc. are used effectively, the bot should be much better than market change or am I wrong? In this video for instance 1:16:06 total profit is 22,3% and market change is 29,98%
@Reanblock
@Reanblock 3 жыл бұрын
Market Change is the change of the market during the backtest period which is calculated as average of all pairs changes from the first to the last candle using the "close" column. Perhaps try out the free strategies available at Freqtrade here (or develop your own) to see how that goes and if it produces better results github.com/freqtrade/freqtrade-strategies.
@JuliusHimmler
@JuliusHimmler 3 жыл бұрын
@@Reanblock I was wondering the same thing. If I understood Theo S correctly, we both think that if the bot performance is lower than the market change, actually a simple and dumb buy and hold would have been more effective. Or is there something I am not seeing?
@mehmetaloglu1081
@mehmetaloglu1081 3 жыл бұрын
thank you so much for the video. could you help for installing on windows?
@Reanblock
@Reanblock 3 жыл бұрын
For windows, you just need to install Docker runtime and then everything else follows pretty much the same approach. There might be differences with setting up the terminal alias and so on, but since Freqtrade runs in a Docker container you should be good.
@mehmetaloglu1081
@mehmetaloglu1081 3 жыл бұрын
@@Reanblock thank you so much.
@SanjaySharma-ct9mi
@SanjaySharma-ct9mi 2 жыл бұрын
How does one edit the strategies?
@inthemj99
@inthemj99 2 жыл бұрын
It's awesome video but I always taking error in creating Hyoperopt. Parse error at offset 23: The document root must not be followed by other values. How can I fix this?
@Reanblock
@Reanblock 2 жыл бұрын
It should work out of the box if nothing is changed. Try checking the Freqtrade docs.
@JonsRegularStuff
@JonsRegularStuff 2 жыл бұрын
thanks for the video. whats the file manager / text editor you're using?
@JonsRegularStuff
@JonsRegularStuff 2 жыл бұрын
found it. i think its "Sublime Text". :)
@slstudio2591
@slstudio2591 2 жыл бұрын
@@JonsRegularStuff It's vscode
@JonsRegularStuff
@JonsRegularStuff 2 жыл бұрын
@@slstudio2591 thanks
@nhattan2412
@nhattan2412 2 жыл бұрын
thank you very much for your kindness. but Since 2021.4 release you no longer have to write a separate hyperopt class, but can configure the parameters directly in the strategy. so we cant use optimize the strategy using Hyperopt in your video with bolinger band. any solution?
@Reanblock
@Reanblock 2 жыл бұрын
Ok, thanks for your insights into the updates. I'll look into it.
@nhattan2412
@nhattan2412 2 жыл бұрын
@@Reanblock I also have a new merge files (hyperopt and strategy) using RSI and BB band like yours. Thanks a lot.
@ellisonhughes5265
@ellisonhughes5265 2 жыл бұрын
Got the same problem and would be very happy if there is any solution, since I couldn't find anything useful in internet, regarding that
@alpaydemir4732
@alpaydemir4732 3 жыл бұрын
Thank you very much really nice video. I have a question. Do u know how to open the freqtrade ui when i run freqtrade on a vps? So how can I open vps localhost in the browser. Is there a way?
@Reanblock
@Reanblock 3 жыл бұрын
Yes that is possible since you can run any kind of software on a VPS server you can also run Freqtrade UI and configure a domain to point to that server to open up Freqtrade UI. I am running Freqtrade in AWS using Docker Compose and I am using an Nginx container as a web server. I'll make a new tutorial on how I set that up in the coming weeks,
@alpaydemir4732
@alpaydemir4732 3 жыл бұрын
@@Reanblock i see thank you, i hoped there would be any easier way maybe haha. I have now also get the idea to try to connect via remote desktop on my ubuntu vps. That will probably work too but dont know if that is easier than running a webserver on the vps. (Webserver has of course more benefits at the end) thanks for ur answer and cant wait for your next video.
@iamkian
@iamkian 3 жыл бұрын
The bitcoin is kind of leading everything. Could you show me (us) how a strategy should look like when monitoring bitcoin for up or down trends on other cryptos?
@BennoExno
@BennoExno 3 жыл бұрын
compare BTC/USDT to BTC/YOURALTCOIN Chart
@iamkian
@iamkian 3 жыл бұрын
@@BennoExno easier said than done... How do you automate this...
@BennoExno
@BennoExno 3 жыл бұрын
@@iamkian look at the Charts, use google to further know more about altcoin rally setups and then make your own decisions
@iamkian
@iamkian 3 жыл бұрын
@@BennoExno The point is that Fregtrade is to automate this and take away emotions. If I look at it myself, and decide myself, the emotions (my own decisions) are back again.
@BennoExno
@BennoExno 3 жыл бұрын
@@iamkian First you need to learn how to Trade and then you can setup your own Bot. If you are noob at Trading how do you want to setup a Bot? You can buy a bot that is already setup. But I dont know what you expect, mate. Somebody coming to you and helping you to make money for free?
@khalidamine5488
@khalidamine5488 3 жыл бұрын
Does the bot continue to run when the mac goes into standby mode, or does it terminate the process?
@Reanblock
@Reanblock 2 жыл бұрын
It would terminate (if you close the laptop that is). If you just lock your screen then it will keep running . To be sure, you should run on a server like AWS so its on 24 / 7.
@tonitsekov7760
@tonitsekov7760 2 жыл бұрын
Hello,wery good video,but please tell me for command DCR,i have not this command.Thank you
@qlgqprqnqndq
@qlgqprqnqndq 2 жыл бұрын
you can use docker and make in terminal alias dcr='docker-compose run'
@TradingBantai
@TradingBantai Жыл бұрын
Can freqtrade developers access the strategy that we create.
@twopointedstar
@twopointedstar 3 жыл бұрын
Could you do a seperate in-depth video on how to code hyperopt?
@Reanblock
@Reanblock 3 жыл бұрын
That is a great idea. I intend to dive deeper into hyperopt and I think that would be a very useful screencast to produce.
@daniologabriel9236
@daniologabriel9236 3 жыл бұрын
do the backtesting can consider also the commissions ?
@Reanblock
@Reanblock 3 жыл бұрын
I don't think backtesting includes transaction fees.
@tranphuonghuy4184
@tranphuonghuy4184 3 жыл бұрын
Question: I wrote the new strategy and backtest it with 13 pairs. After that, I backtest with one pair which pair still in the list of 13 pairs. But the number of trade when I backtest in 13 pairs is less than I backtest 1 pair. For ex: BTC/USDT when backtest 13 pairs at the same time. The number of trade is 13 BTC/USDT when backtest only BTC/USDT. The number of trade almost 20 Can you help me please?
@Reanblock
@Reanblock 3 жыл бұрын
Its likely because when you change the number of pairs that you use for backtesting they number of actual trades may differ due to the available balance for trading will be different.
@tranphuonghuy4184
@tranphuonghuy4184 3 жыл бұрын
@@Reanblock I already change the "max_open_trades" = -1 and "stake amount" = 300, But when I test for 13 pairs, the actual trades always less than I test only 1 pair. For ex. ALICE/USDT when test 13 pairs, trade 9 times. When test only ALICE/USDT, trade 16 times. Please help me
@kelvinkong7783
@kelvinkong7783 3 жыл бұрын
Quest: I ran the hyperopt a couple of times and it gave me several different best results coming with different sets of params. How can I come up with an optimized strategy in this case? Thanks.
@Reanblock
@Reanblock 3 жыл бұрын
You should try the Hyperopt tool of Freqtrade which I touch on towards the end of the video.
@kelvinkong7783
@kelvinkong7783 3 жыл бұрын
Thanks! And also I have an issue about the timestamp. When I tried to load up the bot with API connection, I got the below msg related to Binance: {"code":-1021,"msg":"Timestamp for this request is outside of the recvWindow."} I saw people figure it out but they are using php. What is the issue and how do we solve it in Visual Studio? Thanks and greatly appreciated.
@Reanblock
@Reanblock 3 жыл бұрын
@@kelvinkong7783 I would check that you are using the correct timestamp format which needs to be a UNIX timestamp in seconds or milliseconds. Binance expects the timestamp in seconds, I believe.
@kelvinkong7783
@kelvinkong7783 3 жыл бұрын
Hi DevBootstrap, I've tried many different things and doesn't work: 1. I changed my system time to be UTC 2. making sure my wsl and my system is sync on the date and time 3. make sure my internet time sync to time.window.com 4. Go to Regirtry Editior, get into the NTP server and change the value to 1; then get into W32Time\config and change the AnnounceFlags's value to 5 5. In Vstudio, go to my config.json, add a line of "options" after "ccxt_config", like this: "ccxt_config": {"enableRateLimit": true}, "options": {"adjustForTimeDifference": true}, 6. recreate new API key and secret But all the above doesn't work. I still got the same msg as below: freqtrade.exceptions.TemporaryError: Could not get balance due to InvalidNonce. Message: binance {"code":-1021,"msg":"Timestamp for this request is outside of the recvWindow."} It seems some people figure it out with ntpd in Ubuntu. But I am using window 10, Vstudio, powershell and docker (exactly like what you are using in the video). I'ver been trying for many hours and frustrated. Is it okay that I personally send you email and ask for a step-by step guideline to solve the issue? Will come with reward for sure. Thanks!
@Reanblock
@Reanblock 3 жыл бұрын
@@kelvinkong7783 Thank you for your question and apologies for not responding sooner! Firstly, in the video I am using a MacBook and Visual Studio Code Version: 1.56.2. Also, it appears that the Freqtrade Docker container should be running using UTC time by default. The running container should get its time from the host machine and then use UTC accordingly. So given that, I would not recommend changing your system time to UTC but leave that in your current local timezone. Regarding Windows specific settings, I cannot comment as I do not use Windows at all I am afraid.
@m0tivati0n71
@m0tivati0n71 3 жыл бұрын
When optimizing using hyper opt, does it put into account the fees on the platform e.g. binance?
@Reanblock
@Reanblock 3 жыл бұрын
The Hyperopt tool itself does not consider the trading fees. However, your strategy should. By the way, I just published a new screencast on the Freqtrade Hyperopt tool: kzbin.info/www/bejne/oqHEq6mde8qtgrs
@m0tivati0n71
@m0tivati0n71 3 жыл бұрын
@@Reanblock Thanks.
@m0tivati0n71
@m0tivati0n71 3 жыл бұрын
@@Reanblock Thanks.
@socrates_the_great6209
@socrates_the_great6209 2 жыл бұрын
How the F do you make plot work? = 40:57 I have only been waiting years for that solution. Thanks!
@Reanblock
@Reanblock 2 жыл бұрын
It's explained in the video, I think. Should also be in the shared repo. There is a dependency required here. Give us a shout if you can't solve it!
@GregBreak
@GregBreak 2 жыл бұрын
30:32 What's the shortcut for split the console?
@Reanblock
@Reanblock 2 жыл бұрын
CMD + SHIFT + D (using iTerm2 (v3.4.10) on Mac).
@cristianpopecu7970
@cristianpopecu7970 3 жыл бұрын
I'm already your sub mate. Do you understand smth about Enecuum? The main goal is to make trades and pay for the goods and products fast, secure and without banking fees. Could you observe them pls??
@Reanblock
@Reanblock 3 жыл бұрын
I've taken a look at Enecuum. Thank you for sharing!
Son ❤️ #shorts by Leisi Show
00:41
Leisi Show
Рет қаралды 8 МЛН
Algotrading Frameworks: Overview
20:02
Part Time Larry
Рет қаралды 35 М.
Jim Cramer cuts through the noise of today's market decline
13:42
CNBC Television
Рет қаралды 130 М.
Running Freqtrade Trading Bot deployment to AWS
44:38
Reanblock
Рет қаралды 14 М.
CRYPTO Live Trading Bot with Python [Stoch, RSI, MACD]
24:04
Algovibes
Рет қаралды 125 М.
Supertrend 4 - CCXT Crypto Bot - Order Execution with Python
34:05
Part Time Larry
Рет қаралды 56 М.
Market expert predicts ‘more carnage’ ahead
4:19
Fox Business
Рет қаралды 185 М.
FreqTrade Bare OS to TRADING in just MINUTES!!
14:23
OMG The Cloud!
Рет қаралды 21 М.
Roubini on Treasury Issuance, Markets and Economy
9:33
Bloomberg Television
Рет қаралды 2,5 М.
Лучший браузер!
0:27
Honey Montana
Рет қаралды 1,1 МЛН
Samsung laughing on iPhone #techbyakram
0:12
Tech by Akram
Рет қаралды 7 МЛН
Looks very comfortable. #leddisplay #ledscreen #ledwall #eagerled
0:19
LED Screen Factory-EagerLED
Рет қаралды 13 МЛН
Ba Travel Smart Phone Charger
0:42
Tech Official
Рет қаралды 1,2 МЛН