Created Migrate PTM for PT2.0 (markdown)

HojouFotytu 2018-12-04 23:11:50 +09:00
parent 4506a56b3f
commit a30c8c0fac
1 changed files with 35 additions and 0 deletions

35
Migrate-PTM-for-PT2.0.md Normal file

@ -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.