Updated Setup Guide (markdown)
parent
a176f2342f
commit
5d2b41b68b
|
@ -7,21 +7,24 @@
|
|||
3. **Unpack** the ZIP file to a location you want to use for PT Magic
|
||||
|
||||
4. **Copy** all files and the folder "Monitor" located in "_default settings (YOUR TRADING CURRENCY)" to the folder "PTMagic"
|
||||
_Hint:_ Only copy the files that are meant for your trading currency! Not both folders!
|
||||
_Hint:_ Only copy the files that are meant for your trading currency!
|
||||
When you are finished your PTMagic folder should look like this:
|
||||
|
||||
5. If you don't have it already, you will want to 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](https://notepad-plus-plus.org/).
|
||||

|
||||
|
||||
6. **Create Settings Files**
|
||||
5. If you don't have it already, you will want to **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](https://notepad-plus-plus.org/).
|
||||
|
||||
6. **Create your default settings files**
|
||||
- Go to your Profit Trailer monitor in your browser
|
||||
- Navigate to Config -> PAIRS
|
||||
- Create a new text file and copy the entire settings text over into the new text file. Save the file as PAIRS.properties, in the "PTMagic/_presets/Default folder"
|
||||
- Repeat this step for DCA and INDICATORS.properties files
|
||||
_Hint:_ This will take your personal Profit Trailer settings as default settings for PT Magic.
|
||||
|
||||
7. **Open** Your "application.properties" file of Profit Trailer and change the variable **trading.logHistory** to the highest value: _1850_.
|
||||
7. **Open Your "application.properties"** file of Profit Trailer and change the variable **trading.logHistory** to the highest value: _1850_.
|
||||
_Hint:_ This will make sure that Profit Trailer keeps your sales log entries for as long as possible, so PTMagic can track your sales statistics.
|
||||
|
||||
8. **Open** "settings.general.json" with a text editor and adjust the settings to your needs
|
||||
8. **Open "settings.general.json"** with a text editor 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 - BTC\\ProfitTrailer2\\",`
|
||||
|
@ -29,9 +32,9 @@ _Hint:_ Only copy the files that are meant for your trading currency! Not both f
|
|||
**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`
|
||||
|
||||
9. **Open** "settings.analyzer.json" with a text editor and adjust the settings to suit your needs
|
||||
9. **Open "settings.analyzer.json"** with a text editor and adjust the settings to suit your needs
|
||||
|
||||
10. **Open** "Monitor/appsettings.json" with a text editor and adjust the PTMagicBasePath to your PT Magic root directory.
|
||||
10. **Open "Monitor/appsettings.json"** with a text editor and adjust the PTMagicBasePath to your PT Magic root 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, not SINGLE backslashes. Otherwise you get the follwing error:
|
||||
|
@ -41,15 +44,15 @@ _Hint:_ Only copy the files that are meant for your trading currency! Not both f
|
|||
**Example:**
|
||||

|
||||
|
||||
11. **Run** "Start PTMagic.cmd" and wait for it to complete its first run
|
||||
11. **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.
|
||||
|
||||
12. **Run** "Start PTMagic Monitor.cmd" to start the monitoring service
|
||||
12. **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.
|
||||
|
||||

|
||||
|
||||
13. **Navigate** to http://localhost:5000 **on the same machine/server** to open the monitor
|
||||
_Hint:_ Change the 5000 to the port you specified in your "settings.general.json" file. 5000 is the default port for the PT Magic monitor.
|
||||
13. Open a web-browser, and **Navigate to your monitor** at http://localhost:8088 if you are on the same machine PTMagic is running on. You an also navigate to your PTMagic monitor from other machines or 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.
|
||||
|
||||
14. If something is not working as expected please have a look at our [Post Install Checklist](https://github.com/PTMagicians/PT-Magic/wiki/Post-Install-Checklist) and [FAQ](https://github.com/PTMagicians/PT-Magic/wiki/FAQ-and-Tips).
|
Loading…
Reference in New Issue