Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* .gitignore file * Environment variables setup * Wildcard rule to ignore any test Python files * Adds first version of the bot file * Adds extra sleep functions to prevent the bot from hitting the API rate limits. Pass over the forloop if the price of the coin pair is 0 - piebotai#3 * Unocomments pass print - piebotai#3 * The bot will now only schedue and place orders in production mode * Kill the script if no environment has been defined * Moves tests into their own directory * Adds a new utility script that shows you the current values of each coin pair, and how they relate to the current target values * Typo * Increases max_order_value to 0.5 * Check if the pair value and coins quantity have come back * Adds a new utility script that lets you know how far away each coin pair is from meeting the minimum Crypto.com App staking requirements * REST API (piebotai#7) * Starting REST API version * Asyncio setup * Adds list of trading pairs * Don't use asyncio * Gets the current USDT balance * Calculates the total portfolio balance in USDT * Calculates the target for each coin pair * Adds some more checks before the bot runs * Makes printing the current a time a function * Adds buy/sell logic * Moves current file to old for tidy up * Starting to move functions into separate file * Pre-flight Checks function, moves coin pairs to a config file * Working and ready to start adding code back * Lets users know the bot is running and waiting to be called * USDT reserve should be a percentage of the portfolio value - piebotai#5 * Gets the total USDT balance of the portfolio * Fully working version * Makes the sell quantity for SHIB orders an integer because of the low pricing * The current_time function can now be configured to show the time on an empty line or on its own line * Prints waiting statement at the end of each loop * Fixes print statements * Quantity precisions must be defined for sell orders * Removes extra time print * Removes old PieBot file * Removes unecessary sleep * Preflight checks for the minimum and maximum order values * The USDT reserve should be a percentage of the entire portfolio value - Closes piebotai#5 * _config.py should be in .gitignore * Environment, API key, and API secret are now set from the config file * Adds comments to functions * Print order responses for debugging * Temporary fix where some sell orders weren't going through to the exchange - piebotai#8 * Fixes an issue where some sell orders weren't completing because the quantity values weren't in the correct format - Fixes piebotai#8 * Basic emoji for order confirmations * Print order error messages * Adds price_precision - piebotai#2 * Buy order notionals should be in the correct number of decimal places - piebotai#2 * Removes SHIB from the example config file * Completely different order confirmation print statements for production and dev * Removes utility scripts for now, these will come back in a later release * Get price and quantity precision values from the API (piebotai#13) * Basic working first version * Removes price and quantity precisions from the example config file * Price and quantity precision now come from the API * Adjusts config comment to make it clearer
- Loading branch information