benocd / trading_bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

trading_bot

Only sell is automated. Run Seller.py for testing. For auto exec. create a new cron job like this: * * * * * cd /home/pi/trading_bot && python3 Seller.py

Before using you must buy BTC and insert the data manually into trades.db (table Positions, ignore table Tweets) or run Buyer.py and it'll create a buy order at current price with 25% of your balance.

Example: INSERT INTO Positions (CURRENT_TIMESTAMP, null, 24363306.7, 0.0025, 23886861.04, 25593065.4, 24363306.7, 1)

About


Languages

Language:Python 100.0%