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
faq [2019/01/06 16:57]
armchairguru
faq [2019/03/03 02:30] (current)
armchairguru
Line 44: Line 44:
   * Second Bot: [[faq#​how_to_set_up_a_second_bot_instance|How do I Set up a Second Bot Instance?]]   * Second Bot: [[faq#​how_to_set_up_a_second_bot_instance|How do I Set up a Second Bot Instance?]]
   * Dust: [[faq#​what_is_dust|What is Dust and how do I avoid it?]]?   * Dust: [[faq#​what_is_dust|What is Dust and how do I avoid it?]]?
-  * Old bot version: [[faq#why_is_my_bot_still_showing_v1_after_i_installed_v2|V1 bot starting instead of V2 with PM2?]]+  * Database Backups: [[faq#Where are the database backups located|Where are the database backups located ​?]]
   * Screenshot: [[faq#How do I take and upload a screenshot]]?​   * Screenshot: [[faq#How do I take and upload a screenshot]]?​
   * Ordersettings:​ [[faq#What / Where is an ordersettings file]]?   * Ordersettings:​ [[faq#What / Where is an ordersettings file]]?
Line 272: Line 272:
  
 ====How can I set or reset a password?​==== ====How can I set or reset a password?​====
-You will be prompted to set a password when first booting up the bot. The password is stored in the ptpw file in the ProfitTrailer/​data folder. If you need to reset your password you can delete this file and restart the bot.+You will be prompted to set a password when first booting up the bot. The password is stored in the ptdb.mv.db ​file in the ProfitTrailer/​data folder. If you need to reset your password you will need to create and empty file with the name ''​reset-pw'' ​and place it in the data folder, then restart the bot.
  
 If you do not wish to have a password at all add the following to your application.properties file. If you do not wish to have a password at all add the following to your application.properties file.
Line 566: Line 566:
 ====How do I vary a setting per DCA level?==== ====How do I vary a setting per DCA level?====
  
-The following ​properties can be configured to have a different value for each DCA buy that has occured ​on a coin.+Most DCA properties can be varied based on the number of times a coin has DCA'd. Look in [[dca.properties]] for this symbol: {{:dcabw.png?​18&​nolink}}
  
 == DCA Level Specific Settings == == DCA Level Specific Settings ==
  
-[[dca.properties#​default_dca_buy_trigger|DCA_buy_trigger]]\\ +This is achieved by entering the values into [[dca.properties]] multiple times and appending ''​_x''​ to the end where x is the dca level.
-[[dca.properties#​default_DCA_A_buy_value|DCA_A_buy_value]]\\ +
-[[dca.properties#​default_DCA_A_sell_value|DCA_A_sell_value]]\\ +
-[[dca.properties#​default_DCA_A_buy_value_limit|DCA_A_buy_value_limit]]\\ +
-[[dca.properties#​default_DCA_A_sell_value_limit|DCA_A_sell_value_limit]]\\ +
-[[dca.properties#​default_DCA_buy_percentage|DCA_buy_percentage]]\\ +
-[[dca.properties#​SOM_DCA_buy_trigger]]\\ +
-[[dca.properties#​SOM_DCA_buy_percentage]]\\ +
- +
- +
-This is achieved by entering the values into [[dca.properties|dca.properties]] multiple times and appending ''​_x''​ to the end where x is the ''​next'' ​dca level. +
- +
-Look in [[dca.properties]] for this symbol: {{:​dcabw.png?​18&​nolink}}+
  
 **Notes:** **Notes:**
Line 765: Line 753:
  
 1. [[https://​github.com/​taniman/​profit-trailer/​releases|Download]] the latest release of ProfitTrailer and extract to a new folder separate from your other instance(s). Alternatively you can copy your files from your first instance and delete the following files: 1. [[https://​github.com/​taniman/​profit-trailer/​releases|Download]] the latest release of ProfitTrailer and extract to a new folder separate from your other instance(s). Alternatively you can copy your files from your first instance and delete the following files:
-  * ProfitTrailerData.json and ProfitTrailerData.json.backup+  * data folder
   * log folder   * log folder
-  * ptpw and ptpwmonitor files if you wish to set new passwords +  * backup ​folder ​(backup folder ​is inside the data folder in 2.2.x+ bots)
-  * ordersettings ​folder +
-  * backup folder+
  
 2. Copy the application.properties file from bot 1 to the new bot folder and overwrite the existing file 2. Copy the application.properties file from bot 1 to the new bot folder and overwrite the existing file
Line 777: Line 763:
   * If you are changing to a new exchange (BITTREX, POLONIEX, or BINANCE), then enter the new exchange in ''​[[application.properties#​trading.exchange]]''​.   * If you are changing to a new exchange (BITTREX, POLONIEX, or BINANCE), then enter the new exchange in ''​[[application.properties#​trading.exchange]]''​.
   * Enter two new sets of API keys and secrets.  ​   * Enter two new sets of API keys and secrets.  ​
-  * If you have not yet registered a new ''​[[application.properties#​default_api_key]]''​ you will need to talk to PT Assistant on discord and register it. Go here to see that process: [[pt_assistant|API Key Guide]]. ​+  * If you have not yet registered a new ''​[[application.properties#​default_api_key]]''​ you will need to talk to PT Assistant on discord and register it. Go here to see that process: [[pt_assistant#​registering_api_keys|API Key Guide]]. ​
  
-4. Any other config changes are optional. ​Make changes to the [[pairs.properties]],​ [[dca.properties]] and [[indicators.properties]] files in the initialization folder as desired if you wish to import a custom config, or once the bot starts you will follow the [[faq#​how_do_i_save_and_load_different_configurations | setup procedure]],​ Setup new notifications bots etc+4. Any other config changes are optional. ​ You can setup new notifications bots etc now if desired.
  
-5. When running the new bot for the first time Ensure you choose a new UNIQUE name for the config. ​+5. When running the new bot for the first time Ensure you choose a new UNIQUE name for the config. You should be prompted to choose/load a config when it first boots up. See[[faq#​how_do_i_save_and_load_different_configurations|Save/​Load different Config]]. Make changes to the [[pairs.properties]],​ [[dca.properties]] and [[indicators.properties]] files in the GUI after the bot is running
  
 \\ \\
Line 815: Line 801:
 [[faq|TOP]] [[faq|TOP]]
 \\ \\
 +----
  
-====Why is my bot still showing V1 after I installed V2?====+====Where are the database backups located ​?====
  
-If you are on Linux/RasPi and using PM2 to start the bot, you may need to update it to point to the new V2 directory. The easiest way to do this is to just delete ​the PM2 entry for the first bot with ''​pm2 delete 0''​ (used id/name as necessary in place of 0) and then go to the V2 directory and send it to PM2 like normal: ''​pm2 start pm2-ProfitTrailer.json''​+Database backups ​are only created when the bot is booted; ​the DataBase ​is locked otherwise. Backups are stored in the /data/​backups folder, inside ​the ProfitTrailer ​Main Folder.
  
 \\ \\
  • faq.1546793850.txt.gz
  • Last modified: 2 months ago
  • by armchairguru