No project description provided
Project description
# simple-coinbase-bot A simple Coinbase Pro buy/sell bot.
The primary purpose of this bought is to buy incrementally as the price goes up and down. It does not do anything fancy: 1. Buy if there are no outstanding sell orders less than the current target sell price. 2. Target sell price is determined from sell_at_percent config option and current fees (e.g. current_price * (sell_at_percent+(fees*2)) + current_price) ). See [Coinbase Fee structure](https://help.coinbase.com/en/pro/trading-and-funding/trading-rules-and-fees/fees) 3. After a buy is placed, an immediate limit sell order is set at target sell price equal to the buy size.
A few other min/max configuration options exist for safety, but the primary logic is above (see [example.conf](example.conf)).
# Getting Started First, you will need to create an API key with view/trade permissions in your [Coinbase Pro profile](https://pro.coinbase.com/profile/api).
Create virtualenv and install requirements: `bash python3 -m venv venv . venv/bin/activate pip install -r requirements.txt python setup.py install `
Create a new configuration: `bash mkdir etc/ log/ cache/ cp example.conf etc/btc.conf chmod 700 etc/btc.conf # edit config etc/btc.conf `
Run the bot with the new config: ` simplebot etc/btc.conf # -or- run the wrapper that will restart the bot if it errors out persistbot etc/btc.conf `
# Example Config
See [example.conf](example.conf) for more in depth configuration info.
# Top Command
The simpeltop script displays stats from the cache files (recent order completion, profits, open orders etc).
Example usage:
`bash # Use all .cache files in cache/ directory simpletop cache/ ` ![Top Example](/top1.png)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for SimpleCoinbaseBot-1.0.0-py3.5.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f86ee0b0dbfce0555091e39332785900855d94df70902a20bd295896975f725 |
|
MD5 | 75f903cb919fddcd42c319c44674c59c |
|
BLAKE2b-256 | 34071f8cf20eaf1a7a4d2eda8697cf846041ce88b0c5f3273640fb5228ae3b51 |