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
application.properties [2019/04/12 21:35]
armchairguru
application.properties [2019/06/16 03:51] (current)
armchairguru
Line 1: Line 1:
 ===== application.properties ===== ===== application.properties =====
- +<callout type="​success"​ icon="​glyphicon glyphicon-barcode">​ 
-**Changes to this file will require you to restart the bot.** +**Changes to the API key or API Secret ​will require you to restart the bot.**\\ 
 +\\ 
 +Click to jump to the section listed.\\ 
 +\\
   * [[application.properties#​General Settings]]   * [[application.properties#​General Settings]]
   * [[application.properties#​api_keys|API Settings]]   * [[application.properties#​api_keys|API Settings]]
Line 9: Line 11:
   * [[application.properties#​other_options|Additional Options]]   * [[application.properties#​other_options|Additional Options]]
   * [[application.properties#​API Throttle]]   * [[application.properties#​API Throttle]]
 +</​callout>​
  
-===== Example application.properties file =====+\\
 Click to view the explanation of each parameter.\\ Click to view the explanation of each parameter.\\
  
Line 25: Line 28:
 [[application.properties#​trading.exchange]] = BINANCE\\ [[application.properties#​trading.exchange]] = BINANCE\\
 [[application.properties#​trading.log_history]] = 8\\ [[application.properties#​trading.log_history]] = 8\\
-[[application.properties#​trading.signal_providers]] = \\ 
  
 [[application.properties#​server.timezone_offset]] = +00:00\\ [[application.properties#​server.timezone_offset]] = +00:00\\
-[[application.properties#​server.timezone]] = America/New_York ​\\ +[[application.properties#​server.timezone]] = US/Eastern ​\\ 
-[[application.properties#​server.language]] = engb\\+[[application.properties#​server.language]] = enus\\
 [[application.properties#​server.skin]] = dark\\ [[application.properties#​server.skin]] = dark\\
 [[application.properties#​server.currency]] = USD\\ [[application.properties#​server.currency]] = USD\\
Line 52: Line 54:
 [[application.properties#​api_keys|default_api_key]] ​         = The Exchange API key registered with PT Assistant\\ [[application.properties#​api_keys|default_api_key]] ​         = The Exchange API key registered with PT Assistant\\
 [[application.properties#​api_keys|default_api_secret]] ​      = The Secret key for the default_api_key\\ [[application.properties#​api_keys|default_api_secret]] ​      = The Secret key for the default_api_key\\
-[[application.properties#​api_keys|trading_api_key]] ​         = The second Exchange API key. **(Deprecated,​ no longer used)**\\ 
-[[application.properties#​api_keys|trading_api_secret]] ​      = The Secret for the second API Key **(Deprecated,​ no longer used)**\\ 
  
 [[application.properties#​telegram|telegram.startup_notification]] = true\\ [[application.properties#​telegram|telegram.startup_notification]] = true\\
Line 70: Line 70:
  
 #enabling debug mode\\ #enabling debug mode\\
-[[application.properties#​logging.live_stoploss_trigger_update]] = true \\ +[[application.properties##​logging.level.nl.komtek]] = DEBUG\\
-[[application.properties#​logging.level.nl.komtek]] = DEBUG\\ +
-[[application.properties#​logging.level.nl.komtek.pt.services]] = TRACE\\+
  
 #API Throttle Interim Fix \\ #API Throttle Interim Fix \\
Line 143: Line 141:
 trading.log_history = 8 trading.log_history = 8
 </​file>​ </​file>​
-Set how many days of sell log history to show in the GUI. Once the set number of days passes, older history will be **removed** from the bot. Set this for as long as you want to hold the sales history ​in ProfitTrailer. With [[Pro Features#​PTTracker]] now included with any PRO license ProfitTrailer PRO users will be able to maintain an indefinite history in Tracker regardless of how many days are stored ​in ProfitTrailer.+Set how many days of sell log history to show in the GUI. Once the set number of days passes, older history will be **removed** from the bot. Set this for as long as you want to hold the sales history in ProfitTrailer.
  
 The bot can easily manage a a couple of months of history. Storing trade history data is unlimited when set to 0 or an invalid value. The bot can easily manage a a couple of months of history. Storing trade history data is unlimited when set to 0 or an invalid value.
Line 150: Line 148:
   * Backups are stored in the /​data/​backups folder.   * Backups are stored in the /​data/​backups folder.
   * history setting has a max of 1826   * history setting has a max of 1826
- 
-[[application.properties#​top]] 
- 
----- 
-== trading.signal_providers == 
- 
-<file java> 
-trading.signal_providers = SGNLAWESOMESIGNALS,​ SGNLPTTRADINGVIEW 
-</​file>​ 
- 
-Define the Signal providers from which you wish to receive signals. This property is **only required** if your bot is receiving signals from **multiple providers**. 
-If you have signed up for 3 signal providers and you want a certain bot to receive signals from only 2 of those providers. You can define the providers you want to use separated by a comma. ​ 
- 
-The valid values are the SKU from the ProfitTrailer shop **without the trailing number**. 
- 
-{{::​signal_sku.png?​180&​direct|}} 
  
 [[application.properties#​top]] [[application.properties#​top]]
Line 171: Line 153:
 ---- ----
 == server.timezone_offset == == server.timezone_offset ==
 +**Use server.timezone Instead**
  
 <file java> <file java>
Line 187: Line 170:
  
 <file java> <file java>
-server.timezone = US/Central+server.timezone = US/Eastern
 </​file>​ </​file>​
-Valid Values: [[https://​garygregory.wordpress.com/​2013/​06/​18/​what-are-the-java-timezone-ids|Java Time Zones]]+Valid Values: [[timezones|Java Time Zones]]
  
 Set the timezone ID of the location you live. This will take precedence over ''​[[application.properties#​server.timezone_offset]]''​ and will automatically handle daylight saving times. Set the timezone ID of the location you live. This will take precedence over ''​[[application.properties#​server.timezone_offset]]''​ and will automatically handle daylight saving times.
Line 276: Line 259:
 </​file>​ </​file>​
 Put the exchange API key here that you registered when purchasing (or by using the PT Assistant Bot) and its secret key here. Put the exchange API key here that you registered when purchasing (or by using the PT Assistant Bot) and its secret key here.
- 
----- 
-== trading_api_key == 
-== trading_api_secret == 
- 
-<file java> 
-trading_api_key = (Deprecated,​ no longer used) 
-trading_api_secret = (Deprecated,​ no longer used) 
-</​file>​ 
-Put a second exchange API key here that will be used to do all the buying and selling. This API key does **NOT** need to be registered. Use a different API Key than default_api_key.\\ 
-**NOTE: The trading_api_key is deprecated and no longer used** 
  
 [[application.properties#​top]] [[application.properties#​top]]
Line 456: Line 428:
  
 <file java> <file java>
-server.display_advanced_stats = true+server.display_advanced_stats = false
 </​file>​ </​file>​
-Set to true to enable ​advanced statistics ​to be displayed ​in the GUI.+Pro/​Advanced Users only: Set to false to disable ​advanced statistics in the GUI.\\ 
 +**NOTE:** This is enabled by default. You can turn advanced stats off using this setting.
  
-{{::​tsl_advanced_stas.png?​800&​nolink|}}+{{stats-as-2.png?​800&​nolink|}}
  
-TSL: Trailing Stoploss\\ +\\ 
-OT: Original Trigger\\ +To see all of the advanced statistic explanations,​ [[web_interface_guide#​advanced_statistics|check the web interface guide here]].
-CT: current Trigger\\ +
-HP: Highest Profit\\ +
-OV: Original Value\\  +
-TV: Trailing Value\\ +
-CP: Current Profit\\ +
-LP: Lowest Profit ​+
  
 +\\
 [[application.properties#​top]] [[application.properties#​top]]
  
Line 486: Line 454:
 When changing from test mode to live trading a restart is required. Reset the testmode data using the reset button in the GUI before restarting. ​ When changing from test mode to live trading a restart is required. Reset the testmode data using the reset button in the GUI before restarting. ​
  
-You can use the button in the settings menu or the url http://​localhost:​8081/​settings/​test/​reset to reset test_mode ​sales, pairs and DCA data without restarting if you wish to try another strategy with a clean slate.+You can use the button in the settings menu or the url http://​localhost:​8081/​settings/​test/​reset to reset sales, pairs and DCA data without restarting if you wish to try another strategy with a clean slate.
  
 **Notes:​** ​ **Notes:​** ​
   - Your real coins and balance will not display while in test mode. The bot ignores them while paper trading.   - Your real coins and balance will not display while in test mode. The bot ignores them while paper trading.
-  - ''​[[hotconfig#​test_mode_start_balance]]''​ is uses to set a Start Balance to use for test mode funds. +  - ''​[[hotconfig#​test_mode_start_balance]]''​ is used to set a Start Balance to use for test mode funds. 
-  - Even if you ran a live bot and a test mode bot side by side the results would sometimes differ. The test mode bot will assume all attempts to buy or sell were successful where as if it were live it might have expired. ​+  - Even if you ran a live bot and a test mode bot side by side the results would sometimes differ. The test mode bot will assume all attempts to buy or sell were successful where as if it were live it might have expired
 +  - There is a 15 second delay after a reset before trading resumes.
  
 [[application.properties#​top]] [[application.properties#​top]]
Line 645: Line 614:
 Support may ask you to run your bot in debug mode to help us work out why something is not working. You can run it in debug mode using this parameter. Running in DEBUG mode constantly is not recommended as the log file is huge. Support may ask you to run your bot in debug mode to help us work out why something is not working. You can run it in debug mode using this parameter. Running in DEBUG mode constantly is not recommended as the log file is huge.
  
-**WARNING:​** The log file will contain sensitive information such as your API Keys. If subsequently providing screenshots to support, be sure to censor such information. +**WARNING:​** The log file will contain sensitive information such as your API Keys. Do not post pictures/files/links of your logs in open/public chat, use the support initiated ticket channels as they are private.
- +
-[[application.properties#​top]] +
- +
----- +
-== logging.live_stoploss_trigger_update == +
- +
-<file java> +
-logging.live_stoploss_trigger_update = true +
-</file> +
- +
-Normally we log when trailing stop loss starts and every minute if it moves up we log that too. When this property set to true we will log every time it moves up. No need to wait 1 minute.+
  
 [[application.properties#​top]] [[application.properties#​top]]
Line 713: Line 671:
 **[[application.properties|TOP]]** **[[application.properties|TOP]]**
 \\ \\
- 
-~~DISCUSSION~~ 
  • application.properties.1555104958.txt.gz
  • Last modified: 2 months ago
  • by armchairguru