Prepare your general settings
For PT Magic to be able to successfully communicate with the new settings API integrated into the Profit Trailer monitor you need to go to your settings.general.json file and adjust/add the following variables to the "application" block:
ProfitTrailerMajorVersion
Major version of your Profit Trailer bot (If you are using 1.2.x the major version is "1", if you are using 2.x the major version is "2" and so on)
Default: 1
Expected values: 1, 2, 3 etc.
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
Your Profit Trailer default setting name (needed to change your settings for PT 2.0 and above)
Default: default
The block should finally look something like this:
Adjust your Analyzer Settings
After you prepared the general settings for PTM to work with Profit Trailer 2.0, you need to go to your settings.analyzer.json and adjust your settings.
In particular you need to go over every of your PAIRS, DCA and INDICATORS properties that you specified for your global and single market settings.
Please read through the "what has changed" guide on the official Profit Trailer wiki to make yourself familiar with the new setting variables and their naming changes.
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