-
Follow the instructions of your operating system (Windows, Linux, MacOS)
-
Download and extract the latest release (ZIP) of PT Magic:
-
Extract the ZIP file to a location you want to use for PT Magic. Inside your Profit Trailer folder is often a good location.
-
Copy all files and folders from "_default settings" to the "PTMagic" folder. When you are finished your PTMagic folder should look like this:
-
Download a text editor that can parse JSON files. The settings files you will need to edit will not play well with a normal text editor. One of the most popular is Note++ which you can download here.
-
Use your current PT settings to create your PTM default settings files
- Go to your Profit Trailer monitor in your browser
- Navigate to Configuration > Active Configuration > PAIRS tab
- Create a new text file on your local machine, and copy the entire PAIRS text and paste into the new text file. Save the file as PAIRS.properties, in the "PTMagic/_presets/Default folder"
Hint: you can also use the "download" button on the PT interface. However you might need to rename the files. - Repeat this step for DCA and INDICATORS
-
Open "settings.general.json" in your PTMagic folder, with Note++ and adjust the settings to your needs
Hint: Double check the setting for "ProfitTrailerPath" -- if it is not correct, you will run into issues. Example:
"ProfitTrailerPath": "G:\\Botdrive\\PT Folder\\",
Important: make sure to use DOUBLE backslashes in the Path, not SINGLE backslashes. Otherwise you get the follwing error:
FATAL - Error loading configuration! System.FormatException Could not parse the JSON file
-
Open "settings.analyzer.json" with a text editor and adjust the settings to suit your needs
-
Open "Monitor/appsettings.json" with a text editor and adjust the PTMagicBasePath to your PT Magic directory.
Hint: This is necessary for the monitor to get the data from the PT Magic bot.Important: Please check that you used DOUBLE backslashes in the Path for WINDOWS (not necessary for Linux), not SINGLE backslashes. Otherwise you get the follwing error:
FATAL - Error loading configuration! System.FormatException Could not parse the JSON file
-
Run "Start PTMagic.cmd" and wait for it to complete its first run
Important: When you start PT Magic for the very first time it may take up to 15 minutes for it to grab all the necessary data from your exchange. After this first run it will only take a couple of seconds for each run to complete. -
Run "Start PTMagic Monitor.cmd" to start the monitoring service
Important: After you start the Monitor service, keep the window open. This is basically the web server that provides the monitoring service. You may minimize it of course, but do not close it or you will no longer able to access the monitor. -
Open a web-browser, and Navigate to your monitor at http://localhost:8088 if you are using the same machine PTMagic is running on. You can also navigate to your PTMagic monitor from anywhere (even your phone) -- just enter the IP address of the machine running PTMagic. Example: http://123.345.234.235:8088/ Hint: You can change the port in your "settings.general.json" file.
-
If something is not working as expected please have a look at our Post Install Checklist and FAQ.
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