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 [2018/06/25 07:22]
armchairguru old revision restored (2018/05/28 12:04)
application.properties [2018/08/17 23:47] (current)
sgtbatten [Other Options]
Line 1: Line 1:
-===== application.properties ​Version 2.0 =====+===== application.properties =====
  
 **Changes to this file will require you to restart the bot.** **Changes to this file will require you to restart the bot.**
Line 17: Line 17:
 [[application.properties#​license]] = your ProfitTrailer license\\ [[application.properties#​license]] = your ProfitTrailer license\\
 [[application.properties#​server.port]] = 8081\\ [[application.properties#​server.port]] = 8081\\
 +[[application.properties#​server.address]] = \\
 [[application.properties#​server.api_token]] = \\ [[application.properties#​server.api_token]] = \\
 +
 +[[application.properties#​server.context_path]] = \\
 +[[application.properties#​server.exchange_url]] = \\
  
 [[application.properties#​server.sitename]] =  My BTC Bot \\ [[application.properties#​server.sitename]] =  My BTC Bot \\
Line 88: Line 92:
 **Note:** **Note:**
   - 8085 is reserved for some VM applications and might not work on some operating systems.   - 8085 is reserved for some VM applications and might not work on some operating systems.
 +
 +----
 +== server.address ==
 +
 +<file java>
 +server.address = 123.123.123.123
 +</​file>​
 +
 +Bind the Profit trailer instance to a specific WAN/Public IP address. Useful for uses with multiple public IP addresses and multiple bots.
  
 ---- ----
Line 334: Line 347:
 The bot will do full paper trading, tracking and trading coins in the console and Web GUI as if it were live trading and record sales and profits/​losses in.  The bot will do full paper trading, tracking and trading coins in the console and Web GUI as if it were live trading and record sales and profits/​losses in. 
  
-When changing from test mode to live trading a restart is required. ​You may see some incorrect balances in your live bot for a minute or so after the restart. The test data will automatically clear itself completely.+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
  
-Use the url http://​localhost:​8081/​settings/​test/​reset to reset test_mode pairs and DCA data without restarting if you wish to try another strategy ​for example (won't clear sales).+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.
  
 **Notes:​** ​ **Notes:​** ​
Line 356: Line 369:
 The token is like a password. Configure any random string of letters and numbers. e.g (kjashd983h2dn9832jdi3d0892h3d) The token is like a password. Configure any random string of letters and numbers. e.g (kjashd983h2dn9832jdi3d0892h3d)
  
 +
 +----
 +== server.context_path ==
 +<file java>
 +server.context_path = /binancebtc
 +</​file>​
 +
 +Adds a custom base url to the Web server.
 +
 +Using the example above you would now access ProfitTrailer from http://​localhost:​8081/​binancebtc/​monitoring.
 +
 +**Notes:**
 +  - This does not change the requirement to run each bot on a different port.
 +
 +----
 +== server.exchange_url ==
 +<file java>
 +server.exchange_url = https://​www.binance.com/​tradeDetail.html?​symbol=%c_%b
 +</​file>​
 +
 +Define custom url to be used when a coin pair is clicked in the Web GUI.
 +
 +The %c and %b values are variables based on the coin pair being clicked.
 +
 +**%c** = currency (DOGE)\\
 +**%b** = base (BTC)
 +
 +If you are wanting to link to TV instead of the exchange this is also possible.\\
 +Binance: https://​www.tradingview.com/​chart/?​symbol=BINANCE:​%c%b \\
 +Bittrex: https://​www.tradingview.com/​chart/?​symbol=BITTREX:​%c%b \\
 +Poloniex: https://​www.tradingview.com/​chart/?​symbol=POLONIEX:​%c%b \\
  
 ---- ----
  • application.properties.1529904175.txt.gz
  • Last modified: 3 months ago
  • by armchairguru