For as now this trading bot only supports Binance. It is important to note that this bot is not finished and that the bot cannot trade with real money yet.
To use this bot follow these steps:
git clone [email protected]:gmverdon/TradingBot.git
cd trade-bot
npm install
Add a .env file in the root folder and add your binance api variables in the following manner:
# Binance api variables
BINANCE_KEY = ...
BINANCE_SECRET = ...
npm start
Currently the Binance API does not contain a CORS (Cross-Origin Resource Sharing) header. This results into connection problems when connecting from a browser to their API. If you have connection problems you can try installing a browser plugin which includes the Allow-Control-Allow-Origin: * header clientside. Unfortunately, even with this plugin, it is currently not possible to trade with real money. I have already informed Binance about this problem.
Use at your own risk.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.