Freqtrade

Freqtrade is a cryptocurrency trading bot written in Python (3.6+), Persistence is achieved through sqlite database, but a fork with postgresql support exist.

Freqtrade requires lapack for netlib linear algebra math functions, python3-numpy, python3-pandas (arch) and python3-scipy.

Freqtrade relay on ccxt API to "talk" with the markets, this "library" seems more oriented to centralized systems, but mixed or true dex support may exist (?), IDEX will be used as example to test bot in dry run.

IDEX can be used with following software wallets; MetaMask, Trust Wallet, Toshi, BLUE Wallet, etc.). Being MetaMask the fastest and easiest one to just start. Other methods offered at time of writing are; "Keystore File", "Private Key", "Ledger Wallet (recommended)".

Quote from their page;

"IDEX is a decentralized exchange for trading Ethereum (ERC-20) tokens. IDEX combines the speed of centralization with the security of blockchain settlement.

Learn how you get paid to trade on IDEX!

To get started:

  1. Unlock your Ethereum wallet.
  2. Deposit tokens on the exchange.
  3. Start trading and earn rewards.

Detailed instructions can be found on our Guides page (under Help in the top navigation)

Visit our FAQ to learn more about how IDEX is faster and more user-friendly than other decentralized exchanges.

If you have any questions, please contact us in our chat box or message us on Discord."



Install

Using git

Install bot dependencies;

$ prt-get depinst ta-lib \
python3-numpy \
python3-scipy \
python3-pandas \
python3-pip

Clone project;

$ git clone https://github.com/freqtrade/freqtrade.git

Add remote with postgresql support;

$ git remote add upstream-pqsl https://github.com/mishaker/freqtrade.git

Fetch all;

$ git fetch --all


Configure

Run setup script to check dependencies and create configuration;

./setup.sh -c

Script will create config.json file, read configuration page for more detailed information about each parameter.


Databases


DEX configuration

Bot uses ccxt API to talk with markets, most of them are centralized (dangerous) and don't respect user privacy.


Dryrun


add/view comments