Example scripts for Trading on Ripio Trade (https://trade.ripio.com)
Install a python enviroment manager like miniconda (https://docs.conda.io/en/latest/miniconda.html) Once installed make a dedicated enviroment
conda create -n tradebots python=3.9
conda activate tradebots
git clone https://github.com/ripio/ccxt.git
git clone https://github.com/sserrano44/tradebots.git
pip install multidict==4.5 # might not be required to force install multidict (but I had to do it)
cd ccxt/python
python setup.py install
cd ../..
cd tradebots
pip install -r requirements.txt
Create and API KEY at https://trade.ripio.com/market/api/token write it to a .env file
echo 'API_KEY=REPLACE_WITH_API_KEY' > .env
conda activate tradebots
python buy_usdc.py 5000 330 50