Table of Contents
This is a description of the general settings of the Profit Trailer Magic application. A guide for editing JSON files can be found here.
Application
IsEnabled
Enables the application in general.
Default: true
Expected values: true, false
TestMode
Enables the test mode of PT Magic. When TestMode is enabled, no Profit Trailer files will be changed.
Default: true
Expected values: true, false
ProfitTrailerPath
Absolute filepath to the Profit Trailer root directory.
ProfitTrailerLicense
Your Profit Trailer license key (needed to change your settings for PT 2.0 and above)
ProfitTrailerMonitorURL
The URL to your profit trailer monitor (needed to change your settings for PT 2.0 and above)
Default: http://localhost:8080/
ProfitTrailerDefaultSettingName
The name of the Profit Trailer active configuration that you want PTM to change.
Default: default
Exchange
The exchange you are running your Profit Trailer on.
NOTE: When using BinanceFutures, Quarterly Contracts will be automatically disabled. See PTM 2.5.8 notes.
Expected values: Bittrex, Binance, BinanceUS, BinanceFutures, Poloniex
StartBalance
The balance you had in your wallet when you started working with Profit Trailer
Expected values: Float
TimezoneOffset
Your timezone offset from UTC time
Expected values: Strings in format "+1:00" or "-7:00" etc.
MainFiatCurrency
Your main fiat currency that will be used in the monitor
Expected values: Valid currencies from this list:
http://api.fixer.io/latest?base=USD
FloodProtectionMinutes
Number of minutes to wait before switching the global settings after they have been changed. If a price trend is just zig-zagging around its trigger, you may want to protect your settings from getting switched back and forth every time the analyzer runs. (see IntervalMinutes)
Default: 15
Expected values: Integer
CoinMarketCapAPIKey
If you wish to use CoinMarketCap market data in your analyzer settings, you will need to create an API key here. Keep in mind, the free CoinMarketCap account has a limited number of API calls available per day (roughly once every 5 minutes when last checked). See 2.0.5 Patch details for more information. If you aren't using CMC the value should be null. (See also, Platform). Required.
Default: ""
Expected values: String
ProfitTrailerServerAPIToken
You must assign a server API token in your PT Account Settings for PTMagic to gain access PT's data. This is just an identifier PT uses in case you have more than one bot running on the same license. Any custom string will work (e.g., "mybtcbot"). Assign the same value to this setting in your PTM settings. This has nothing to do with your exchange API key. Required.
Default: ""
Expected values: String
FreeCurrencyConverterAPIKey
If you wish to us a non-USD currency for "MainFiatCurrency" the you need to create an API key at https://free.currencyconverterapi.com/free-api-key and enter it here. If you are using USD, the value should be null. Required.
Default: ""
Expected values: String
Monitor
IsPasswordProtected
Defines if you monitor website will be protected by a password or not.
Default: true
Expected values: true, false
OpenBrowserOnStart
If this is active, a browser window pointing to the monitor will open when the monitor app gets started
Default: false
Expected values: true, false
Port
The port to run your monitor on.
Default: 5000
Expected values: Integer
AnalyzerChart
If this value is left blank, the chart at the top of the Market Analyzer page will display a trading view chart of your base currency against USD. However, if you are trading against USDT, you might not want to see a chart of USDTUSD, so you can enter another coin pair here.
Default: ""
Expected values: Any valid coin pair, e.g, "BTCUSD"
GraphIntervalMinutes
The interval for the monitor market trend graph to draw points.
Default: 60
Expected values: Integer
GraphMaxTimeframeHours
This will enable you to define the timeframe that your graph for market trends covers.
Default: 24
Expected values: Integer
RefreshSeconds
The refresh interval of your monitor main page.
Default: 30
Expected values: Integer
LinkPlatform
The platform to which the pair name will link if you click on it.
Default: TradingView
Expected values: Exchange, TradingView, TradingViewFutures
DefaultDCAMode
The default mode of the DCA calculator to be used when you access it using your monitor.
Default: Simple
Expected values: Simple, Advanced
MaxTopMarkets
The amount of top markets being shown in your Sales Analyzer
Default: 20
Expected values: Integer
MaxDailySummaries
The amount of "Last Days" being shown in your Sales Analyzer
Default: 10
Expected values: Integer
MaxMonthlySummaries
The amount of "Last Months" being shown in your Sales Analyzer
Default: 10
Expected values: Integer
MaxDashboardBuyEntries
The amount of possible buy entries being shown in your dashboard
Default: 10
Expected values: Integer
MaxDashboardBagEntries
The amount of pairs/dca entries being shown in your dashboard
Default: 10
Expected values: Integer
TvStudyA
You can add up to four indicators to show by default on the TradingView widget (A, B, C, and D). Available STUDIES can be found at https://www.tradingview.com/wiki/Widget:TradingView_Widget. Not required.
Default: ""
Expected values: String
Backup
IsEnabled
Enables a backup procedure for your properties files. Before every switch PT Magic will backup the current properties.
Default: true
Expected values: true, false
MaxHours
Max number of hours to keep backup files
Default: 48
Expected values: Integer
Telegram
IsEnabled
Enables PT Magic to send Telegram messages
Default: false
Expected values: true, false
BotToken
Your Telegram bot token
Expected values: String
ChatId
Your Telegram Chat ID
Expected values: Integer
SilentMode
If SilentMode is active, no notification sound or vibration will happen when the bot sends a Telegram message
Default: false
Expected values: true, false
General
Getting Started
Settings
Guides
- Writing Properties
- Offset and Offset Percentages
- Single Market Settings
- MinChange & MaxChange
- Off Triggers (SMS Only)
- Updating PT Magic
- Editing JSON files
- DCA Calculator
- Sales Analyzer
- Reset PTM Data