Skip to content

c0rv0s/money_machine

Repository files navigation

money_machine

crypto signal bot

Setup

Requires Python 3

Create a copy of tokens.py.example and fill in the appropriate values. You may need to create a new telegram bot and channel for alerts.

Usage

The following scripts will perform an analysis and send the results via telegram bot. runbot.py will also send orders.

runbot

Uses mm.py to calculate signals then execute orders as appropriate. Whenever an action is performed a status message will be sent to the specified telegram channel.

Default setting is:

  • open orders with 3x leverage and 90% of available funds (configured in config.py)
  • close the entire order at once
  • only market orders
  • only go long at beginning of uptrend, no short orders

To backtest the bot over the last 1000 days include 'test' in your command line options To test without shorting add 'noshorts'. To test without longs add 'nolongs'.

runmabot

If you only want signals then these are used to calculate signals with selected coins and message the bot with results. test, noshorts and nolongs can be used as options here for testing. hour or day can be passed to specifiy timeframe and btc, eth and xrp will be accepted as ticker arguments.

mas_only

Returns crossing of moving averages

mm

Returns trend changes (up or down or no change) as determined by Hull Moving Average and smoothe factor.

chat

Runs a chat server for balance queries, ethereum gas updates and custom controls.

On linux run nohup python3 \path\to\chat.py & to have it run constantly in the background.

About

crypto signal bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages