Skip to content

fgias/freqtrade-strategies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Testing trading strategies with the Freqtrade crypto bot.

This is the strategy folder for the Freqtrade bot.

To set up, see the https://www.freqtrade.io/en/stable/ or the udemy course https://www.udemy.com/course/build-a-crypto-bot-100-functional-algorithmic-trading-freqtrade/.

Deploying the bot to run 24/7 on the AWS cloud

  • Register on AWS, https://aws.amazon.com/.
  • Create a Linux (Debian) EC2 instance.
  • In the CMD, ssh using the key pair .pem file: ssh -i "KeyPair.pem" admin@****.
  • Follow the installation instructions here: https://www.freqtrade.io/en/stable/installation/.
  • Do not forget to check the requirements before setting up.
  • To activate the virtual environment, run the command source ./.env/bin/activate in the freqtrade folder.
  • Run freqtrade new-config to create new configuration file config.json.
  • Generate an API token and a secret key from your exchange (e.g. Binance, Kraken) and use them to connect the bot with the exchange.
  • Connect the freqtrade bot with a telegram bot using the telegram token and your own telegram chat id.
  • To end the ssh session, but keep the bot running, use the command screen and then detach from the running process with the key binding Ctrl + A Ctrl + D. To resume the session use screen -r. See https://www.tecmint.com/keep-remote-ssh-sessions-running-after-disconnection/.

config.json file for MAC strategy

  • max open trades: 8
  • stake amount: unlimited
  • blacklist DAI/USDT, USDC/USDT, BUSD/USDT etc. (stable coins)
  • stoploss = -0.15

Comments/ Limitations

  • The bot does not have the ability to short sell.
  • You can only buy pairs, not perpetual contracts or other instruments. Therefore it is impossible to create market neutral strategies or take advantage of the funding rates etc.

About

Testing trading strategies with a crypto bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages