Skip to content

application.properties

tuli edited this page Apr 25, 2018 · 18 revisions

Properties

To leverage most of MoonBot, we recommend reading this page.

General

bot.user_id (mandatory) Your Telegram chat id. Can be found at @MyTelegramID_bot

bot.user_id=

bot.token (mandatory) Create your bot using @BotFather and place your bot token here.

bot.token=

btc.investment (optional) Set your BTC investment to track your total BTC profit

btc.investment=

usd.investment (optional) Set your USD investment to track your total USD profit

usd.investment=

Exchange(s) keys

Moonbot uses READ ONLY keys to retrieve and display your holdings values, profits and status.

Set your bittrex API key and secret (READ ONLY) to view your holdings status

bittrex.api.key=
bittrex.api.secret=

Set your binance API key and secret (READ ONLY) to view your holdings status

binance.api.key=
binance.api.secret=

Profit Trailer integraion

Moonbot uses several methods to read, update and display Profit Trailer data.
In order to provide all available features, and retrieve your most up-to-date PT info, MoonBot uses PT's server.password property to allow access to its data.
Although its not a must - if you remove the password property, you will still be able to see the sales\dca\pairs and control PT, but PT summary view, as long as Monitor and other features will not be available.

You can update those settings to enforce non-default values:

Profit Trailer host - using PT api to retrieve PT data (default to localhost)

profit.trailer.host=

Profit Trailer port (default to 8081)

profit.trailer.port=

Profit Trailer api token (use the same value as you have in PT's application.properties)

pt.server.api_token=

Profit Trailer ssl mode (default to false)

profit.trailer.use.ssl=

Profit Trailer directory - Profit Trailer directory path (default to "../ProfitTrailer")

profit.trailer.directory=

Profit Trailer restart command - (BETA | Tested on linux & macos), set your PT restart command to enable the /restartpt command.

profit.trailer.restart.command=

Disable Profit Trailer bought\sold notifications (default false)

profit.trailer.disable.notifications=

Disable Profit Trailer log watcher (default false)

profit.trailer.disable.logwatcher=

Disable Profit Trailer health-check monitor (default false)

pt.monitor.disabled=

Set Market percent change you would like to be notified on, i.e when your MARKET coin changes in this rate, you will get alert on it.

monitor.percentage.change=

PT Feeder properties:

To enable feeder settings, set the following property with the path to your feeder folder.
i.e "/var/app/feeder" or "C:/Desktop/PTFeeder"

pt.feeder.directory.path=

Enforce displaying pairs when feeder enabled (first 150 only).

pt.feeder.show.pairs=true

Others

* monitor.btc.watch_rate - set the change in usd price you want to get notification for
* crumbs.\<coin\> - set the minimum amount to track for specific coin, aka "dust".
* moonbot.keys.max.length - set maximum number of buttons keys
* moonbot.debug - set to true to log debug information
* moonbot.less.emojis - use less emojis when displaying data
* moonbot.binance.throttle.min = set binance api throttling in minutes, default 0.5.
* moonbot.market - set Market (ETH\USDT\BTC). tether and ethereum are beta. 
* moonbot.timezone.offset - set timezone offset to display correct sold time (+1, -3, etc.)