From a30c8c0facc2367c3039df54e274a14be60ddf5f Mon Sep 17 00:00:00 2001 From: HojouFotytu <36724681+HojouFotytu@users.noreply.github.com> Date: Tue, 4 Dec 2018 23:11:50 +0900 Subject: [PATCH] Created Migrate PTM for PT2.0 (markdown) --- Migrate-PTM-for-PT2.0.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Migrate-PTM-for-PT2.0.md diff --git a/Migrate-PTM-for-PT2.0.md b/Migrate-PTM-for-PT2.0.md new file mode 100644 index 0000000..c2deb6f --- /dev/null +++ b/Migrate-PTM-for-PT2.0.md @@ -0,0 +1,35 @@ +## 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: +![](https://i.imgur.com/63bz4pH.png) + +## 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](https://wiki.profittrailer.com/doku.php?id=changes#version_2) on the official Profit Trailer wiki to make yourself familiar with the new setting variables and their naming changes. \ No newline at end of file