Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
profittrailer_vps [2019/01/20 21:55]
sgtbatten [Setting up a second Bot]
profittrailer_vps [2019/06/16 19:29] (current)
armchairguru
Line 1: Line 1:
-====== ProfitTrailer VPS Setup Guide ======+/* 
 +This is a hidden comment area - don't delete 
 +This page is also a slide - be careful with markup, and test both the page AND the slide when editing 
 +*/ 
 +~~REVEAL~~ 
 +====ProfitTrailer VPS Setup Guide==== 
 +In slideshow mode, use arrow keys or the navigation buttons at lower right of screen to move forward/​back.
  
-This guide will help you get ProfitTrailer running on a ProfitTrailer VPS. +This guide will help you get ProfitTrailer running on a ProfitTrailer VPS.
  
-Please read the [[instructions#​Quick Instructions]] first!  +====Contents====
- +
-=== Contents ===+
  
   * Short YouTube overview is available [[https://​youtu.be/​f8XHpFBVpKo|HERE]].   * Short YouTube overview is available [[https://​youtu.be/​f8XHpFBVpKo|HERE]].
-  * [[profittrailer_vps#​Accessing your VPS]] +  * [[https://​wiki.profittrailer.com/​doku.php?​id=profittrailer_vps#​accessing_your_vps|Accessing your VPS]] 
-  * [[profittrailer_vps#​Configuring ProfitTrailer]] +  * [[https://​wiki.profittrailer.com/​doku.php?​id=profittrailer_vps#​configuring_profittrailer|Configuring ProfitTrailer]] 
-  * [[profittrailer_vps#​Accessing files on your VPS]] +  * [[https://​wiki.profittrailer.com/​doku.php?​id=profittrailer_vps#​accessing_files_on_your_vps|Accessing files on your VPS]]
-  * [[profittrailer_vps#​Setting up a second Bot]]+
  
 +====Accessing Your VPS====
 +Go to the [[https://​profittrailer.com/​my-account/​|My Account]] section on ProfitTrailer.com and Login.\\
 +{{my-account-login.png?​nolink&​400}}
 +---->>​
 +Select VPS from the menu on the left side.\\
 +Under Your Active Products/​Services select VPS Pro or VPS Basic depending on your subscription.\\
 +{{active-services.png?​nolink}}
 +<----
 +---->>​
 +{{vps_start.png?​nolink&​600}}\\
 +**NOTE:** If you see this screen, it is for starting/​stopping/​restarting the bot and downloading the log file.
 +If you are setting up the bot and need to access the bot URL, please refer to the [[https://​wiki.profittrailer.com/​doku.php?​id=profittrailer_vps#​step_3_-_profittrailer_gui|ProfitTrailer GUI]] steps later in this document.\\
  
----- +If you are setting up the bot for the first time, continue with all of the following instructions first
- +<---- 
-===== Accessing Your VPS ===== +---->> 
- +====Configuring ProfitTrailer==== 
-Go to the [[https://​profittrailer.com/​my-account/​|My Account]] section on ProfitTrailer.com and Login+On the Manage Product screen select Configure ProfitTrailer from the Actions Menu.\\ 
- +{{vps-actions-menu.png?​nolink}} 
-{{::my-account-login.png?​nolink&​400|}} +<---- 
- +---->>​
-Select VPS from the menu on the left side. +
- +
-Under Your Active Products/​Services select VPS Pro or VPS Basic depending on your subscription. +
- +
-{{::active-services.png?​nolink|}} +
- +
----- +
- +
-===== Configuring ProfitTrailer ====+
- +
-On the Manage Product screen select Configure ProfitTrailer from the Actions Menu. +
- +
-{{::vps-actions-menu.png?​nolink|}} +
 Fill in all the fields displayed on the following pages. Fields marked with an * must be set. Fill in all the fields displayed on the following pages. Fields marked with an * must be set.
-\\ +<---- 
-\\ +---->>​ 
- +====Step 1 - Crypto Currency Exchange==== 
-== Step 1 - Crypto Currency Exchange == +{{vps-config-page1.png?​nolink}} 
- +<---- 
- +---->>​ 
-{{::vps-config-page1.png?​nolink ​|}} \\ +Under Advanced settings you can optionally configure a custom URL to be opened when a coin is clicked on in the Web interface.\\ 
- +By default we will open the exchange up to the default trading page for that coin.\\ 
-Trading exchange is the exchange you wish your bot to connect to. \\ +You can read about this option [[https://​wiki.profittrailer.com/​doku.php?​id=application.properties#​serverexchange_url|Here]]. 
-For all available options see ''​[[application.properties#​tradingexchange]]''​ +<---- 
- +---->> 
-\\ +====Step 2 - ProfitTrailer Configuration==== 
- +{{vps-config-page2.png?​nolink}}\\ 
-ProfitTrailer Licence Key is the product key you were emailed after purchasing ProfitTrailer. +Test Mode is used to enable or disable paper trading when the bot boots up. You can find more information about Test Mode [[https://​wiki.profittrailer.com/​doku.php?​id=application.properties#​servertest_mode|HERE]]. 
- +<---- 
-\\ +---->>​
-\\ +
- +
-Default API Key is one of the two API keys you created on the exchange.  +
-The Default Key is the one we register with [[PT Assistant]] automatically for you as part of your VPS service. +
- +
-\\ +
- +
-Default API Secret is the secret key associated with your Default API Key. +
- +
-\\ +
-\\ +
- +
-Trading API Key is the second API key you create on your exchange. Just like the Default API Key it needs read and trade permissions. +
- +
-\\ +
-\\ +
- +
-Trading API Secret is the secret key associated with your Trading API Key. +
- +
-\\ +
- +
-Under Advanced settings you can optionally configure a custom URL to be opened when a coin is clicked on in the Web interface. +
-By default we will open the exchange up to the default trading page for that coin. +
-You can read about this option [[application.properties#​serverexchange_url|Here]]. +
- +
- +
----- +
- +
-== Step 2 - ProfitTrailer Configuration == +
- +
-{{::vps-config-page2.png?​nolink ​|}} \\ +
- +
-Time Zone should be set to your local timezone. The list is sorted alphabetically by region then city. +
- +
-\\ +
-\\ +
- +
-Language can be set to your preferred localization setting. +
- +
-\\ +
-\\ +
- +
-Currency determines what currency your bot displays in the GUI +
- +
-\\ +
- +
-Test Mode is used to enable or disable paper trading when the bot boots up. You can find more information about Test Mode [[application.properties#​servertest_mode|HERE]]. +
- +
-\\ +
 Under Advanced you are able to set some additional optional settings. Click any of the below links to learn more about each setting. Under Advanced you are able to set some additional optional settings. Click any of the below links to learn more about each setting.
  
-[[application.properties#​serversitename|PT Bot Name]]\\ +[[https://​wiki.profittrailer.com/​doku.php?​id=application.properties#​serversitename|PT Bot Name]]\\ 
-[[application.properties#​serverport|Server Port]]\\ +[[https://​wiki.profittrailer.com/​doku.php?​id=application.properties#​serverport|Server Port]]\\ 
-[[application.properties#​tradinglog_history|Trading Log History]]\\ +[[https://​wiki.profittrailer.com/​doku.php?​id=application.properties#​tradinglog_history|Trading Log History]]\\ 
-[[application.properties#​serversstart_trading_delay|Start Trading Delay]]\\ +[[https://​wiki.profittrailer.com/​doku.php?​id=application.properties#​serverstart_trading_delay|Start Trading Delay]]\\ 
-[[application.properties#​serverskin|GUI Theme]]\\ +[[https://​wiki.profittrailer.com/​doku.php?​id=application.properties#​serverskin|GUI Theme]]\\ 
-[[application.properties#​connectiontimeout|Connection Timeout]] +[[https://​wiki.profittrailer.com/​doku.php?​id=application.properties#​connectiontimeout|Connection Timeout]] 
- +<---- 
- +---->> 
----- +====Step 3 - ProfitTrailer GUI====
- +
-== Step 3 - ProfitTrailer GUI == +
 The Default settings in step 3 are what we recommend and what most people use however you can change them if you wish. The Default settings in step 3 are what we recommend and what most people use however you can change them if you wish.
- +{{vps-config-page3.png?​nolink}} 
-{{::vps-config-page3.png?​nolink ​|}}\\ +<---- 
-Server Disable Online disables the online storage of your encrypted config files. Read more [[application.properties#​serverdisable_online_config|HERE]]. +---->>​
- +
-Server Enable Shutdown places a button in the GUI that can be used to shutdown the bot. +
- +
-\\ +
- +
-Server Disable Notification disables notifications about errors/​config changes displaying in the GUI. Read more [[application.properties#​serverdisable_notification|HERE]]. +
- +
 Under Advanced Settings you can configure optional notifications in Telegram and/or Discord. ​ Under Advanced Settings you can configure optional notifications in Telegram and/or Discord. ​
  
-For further guidance on notifications see our [[notification_setup|Notifications Guide]]+For further guidance on notifications see our [[https://​wiki.profittrailer.com/​doku.php?​id=notification_setup|Notifications Guide]] 
 +<---- 
 +---->>​ 
 +Once the 3 steps are completed your settings will be saved to your bot and the bot will boot up. Back on the Manage Product screen you will find a link to view your bots GUI.\\ 
 +{{vps-links.png?​nolink}} 
 +<---- 
 +---->>​ 
 +When you open the GUI for the first time you will be asked to set a password. You will also need to enter your default_api_key to confirm you are the owner.\\ 
 +{{set_admin_password.png?​nolink}} 
 +<---- 
 +---->>​ 
 +If successful you will then be asked to Login.\\ 
 +{{login.png?​nolink}} 
 +<---- 
 +---->>​ 
 +Finally you will be presented with the Config Load screen. See [[https://​wiki.profittrailer.com/​doku.php?​id=faq#​how_do_i_save_and_load_different_configurations|Saving/​Loading/​Editing Configs]].\\
  
- +There are two methods for choosing your first configuration: ​( --> ) 
- +<---- 
-Once the 3 steps are completed your settings will be saved to your bot and the bot will boot up. Back on the Manage Product screen you will find a link to view your bots GUI. +---->>​ 
- +  * **Public** - Choose from our database of [[strategies_overview|public configs]] and copy it to your bot giving it a unique name.
-{{::​vps-links.png?​nolink|}} +
- +
-When you open the GUI for the first time you will be asked to set a password. You will also need to enter your [[application.properties#​default_api_key]] to confirm you are the owner. +
- +
-{{:​set_admin_password.png?​nolink|}} +
- +
-If successful you will then be asked to Login. +
- +
-{{::​login.png?​nolink|}} +
- +
-Finally you will be presented with the Config Load screen. See [[faq#​how_do_i_save_and_load_different_configurations|Saving/​Loading/​Importing/​Editing Configs]]. +
- +
-There are three methods for choosing your first configuration:​ +
- +
-  * **Public** - Choose from our database of [[default_settings|public configs]] and copy it to your bot giving it a unique name.+
   * **Saved** - Choose from one of your own configs that you have already created in the past.   * **Saved** - Choose from one of your own configs that you have already created in the past.
-  * **Import** - Choose a name and import a config from your ProfitTrailer initialization folder. +{{initial_settings_load.png?​nolink}} 
- +<---- 
-{{::initial_settings_load.png?​nolink|}} +---->>​
 New users should explore other sections of the wiki to learn about the bot. See the sidebar on the left. New users should explore other sections of the wiki to learn about the bot. See the sidebar on the left.
- +<---- 
-\\ +---->> 
-[[profittrailer_vps|TOP]] +====Accessing Files On Your VPS====
-\\ +
- +
----- +
- +
-===== Accessing Files On Your VPS ====+
 At the bottom of the Manage Product screen are several buttons. At the bottom of the Manage Product screen are several buttons.
- +{{vps-manage-vps.png?​nolink}}\\ 
-{{::vps-manage-vps.png?​nolink|}} +  * [[https://​wiki.profittrailer.com/​doku.php?​id=profittrailer_vps#​file_manager|File Manager]] 
- +  * [[https://​wiki.profittrailer.com/​doku.php?​id=profittrailer_vps#​Serial Console|Serial Console]] 
-In order to access the files you will need to know the root password of your VPS. If you have lost or do not know the root password Select the Root Password Button at the bottom of the page to set a new one. The root password is an admin level password for your VPS. needs to contain letters and numbers and be be reasonable length (recommended 8 characters minimum) for your security. +  * [[https://​wiki.profittrailer.com/​doku.php?​id=profittrailer_vps#​SSH Session|SSH Session]] 
- +<---- 
-To access a Linux command line interface use the Serial Console or HTML 5 Serial Console buttons. +---->>​ 
- +====File Manager==== 
-To access a file browser select the {{::vps-file-manager.png?​nolink|File Manager}} button. +In order to access the files you will need to know the root password of your VPS. If you have lost or do not know the root password Select the Root Password Button at the bottom of the page to set a new one. 
- +<---- 
-You will now need to log in to the file manager. ​ +---->>​ 
- +The root password is an admin level password for your VPS. It needs to contain letters and numbers and be be reasonable length (recommended 8 characters minimum) for your security. 
-{{::vps-sftp-file-manager.png?​nolink|}} +<---- 
 +---->>​ 
 +To access a Linux command line interface use the Serial Console or HTML 5 Serial Console buttons.\\ 
 +To access a file browser select the File Manager Button.\\ 
 +Use this feature in the browser'​s private/​incognito mode.\\ 
 +{{vps-file-manager.png?​nolink}} 
 +<---- 
 +---->>​ 
 +You will now need to log in to the file manager.\\ 
 +{{vps-sftp-file-manager.png?​nolink}}\\
 Use your VPS IP address and root password to login. Use your VPS IP address and root password to login.
- +<---- 
-After logging in you will see some or all of the folders ​shown below. +---->>​ 
- +After logging in you will see more folders.\\ 
-{{::vps-file-manager-folders.png?​nolink|}} +{{vps-file-manager-folders.png?​nolink}}\\
 From this screen you can view and edit the files on the VPS. From this screen you can view and edit the files on the VPS.
- +<---- 
-== How to save a change to a file == +---->>​ 
- +====How to save a change to a file==== 
-If you were to open a file such as application.properties or pm2-ProfitTrailer.json and wish to make changes you can do so from the file manager. Click on the file you wish to open and it will be displayed in the browser. +If you were to open a file such as application.properties or pm2-ProfitTrailer.json and wish to make changes you can do so from the file manager. Click on the file you wish to open and it will be displayed in the browser. ​( --> ) 
- +<---- 
-{{::vps-application-properties.png?​nolink|}} +---->>​ 
- +{{vps-application-properties.png?​nolink}} 
-Make any changes you wish and a save icon will appear in the bottom right. Click this icon to save your changes. +<---- 
- +---->>​ 
-{{::vps-save-icon.png?​nolink|}} +Make any changes you wish and a save icon will appear in the bottom right. Click this icon to save your changes.\\ 
- +{{vps-save-icon.png?​nolink}} 
-\\ +<---- 
-[[profittrailer_vps|TOP]] +---->>​ 
-\\ +====Serial Console==== 
- +Future info here... 
----- +<---- 
- +---->> 
-===== Setting up a second Bot ===== +====SSH Session==== 
- +Future info here... 
-Full guide Coming soon! +<---- 
- +---->>​ 
-In order to set up a second instance on a PT VPS you will need to duplicate your pt installation folder using the file manager or terminalThe configuration wizard will not connect to your second bot so all configuration must then be done by editing the [[application.properties]] file directly+This concludes ​the ProfitTrailer VPS Setup Guide 
- +<----
-Sections of the [[linux_guide]] may assist you in configuring pm2 to run the second instance and you will also need to edit the update script to update multiple bots at once. +
- +
-\\ +
-[[profittrailer_vps|TOP]] +
-\\ +
- +
- +
- +
- +
- +
- +
- +
  • profittrailer_vps.1548021326.txt.gz
  • Last modified: 6 months ago
  • by sgtbatten