17 Tips
HojouFotytu edited this page 2023-09-04 21:42:25 +09:00

Specifying Coin-Pairs

Starting with PTM 2.5.9, settings in setting.analyzer.json that requires you to specify a coin (e.g., IgnoredMarkets or AllowedMarkets) will match either the coin or the coin pair. This means users can continue to specify the market (eg., "BTCUSDT, ETHUSDT, LINKUSDT") or the coin name only ("BTC, ETH, LINK").

  • NOTE: When "Platform" is set to CoinMarketCap, the base currency should never be specified. Markets will always be priced against your "TrendCurrency."

Analyzer Non-Numeric Values

In the PTM Analyzer file, any PT parameters in PairsProperties, DCAProperties, or IndicatorProperties taking a non-numeric value (with the exception of "true" or "false") should have their values defined within quotes. Quotes are never needed when editing the Analyzer via the web GUI (they are automatically added when necessary). Examples:

  • "DEFAULT_sell_only_mode_enabled": true,
  • "DEFAULT_trailing_stop_loss_trigger_arm": "(SB * 1.5) + 0.5",

Multiple instances of PT Magic

If you have more than one Profit Trailer bot, you should also install and start multiple instances of PT Magic. Simply specify the different ports for you PT bots, and use different ports for your PTMagic monitors.

Use PT Magic monitor for Profit Trailer Feeder

If you already use Profit Trailer Feeder and want PT Magic to act as an information dashboard only, you can run it in Testmode. PT Magic then will only collect summary data for the dashboard but will NOT change your settings (that would be Feeder's job).
However, please be aware that this may lead to occasional read errors from either add-on, or Profit Trailer itself. Although PT Magic won't write to files, it does read from them so if PT Feeder is currently writing to a file that PT Magic wants to read from, it will trigger errors.

Start PT Magic with pm2

See this post.

Nginx Reverse Proxy Instructions with SSL/Basic Authentication

See this post.

Caddy Reverse Proxy Instructions with SSL/Basic Authentication

See this post.