Settings
This section helps you to configure Fund Manager to get the most out of it. Unfortunately, the 1st release of Fund Manager i.e. 1.1.0.1 doesn't come with a seperate settings/preferences screen rather you have to modify the config files and restart the application to tune Fund Manager, its easy though.
Modifying Basic Settings
Basic features can be tuned by modifying the values in "config/basic.properties" configuration file.
KEY | DEFAULT VALUES | USAGE DESCRIPTION |
webstreamer.engine | Currently this setting is not used. Application by default only gets the data from google.finance.com. (Not used in this release) | |
webstreamer.defaultupdater.enabled | false | Defaultupdater streams stock details for all the stocks available in the Stock Master Table. [Note: This consumes a lot more resource than that required by priority updater] |
webstreamer.defaultupdater.delay | 2 | Default updater is rescheduled to run after every 2 hours by default. |
webstreamer.priorityupdater.enabled | true | If enabled updates only those stocks on regular interval against which alerts are added. |
webstreamer.priorityupdater.delay | 1800 | Delay after which priorityupdater is called again. This is valid only if priority updater is enabled. Value to be specified in milliseconds absolute value |
trade.start.time | 9:00 | BSE and NSE Trade Start Time in 24hr |
trade.end.time | 15:30 | BSE and NSE Trade End Time in 24hr |
alert.sound.enabled | true | Enables/Disables playing of sound when alert is displayed |
alert.sms.enabled | false | Enables/Disables sms alert |
alert.sms.userid | yourusername@gmail.com | Gmail user id which is used for Google Data API Client authentication |
alert.sms.password | Yourgmailpassword |
Modifying Log Settings
Log file of the application provides detailed information about the functioning of the application. By default the log file gets created at "logs/fundmanager.log". Basic features can be tuned by modifying the values in "config/log4j.properties" configuration file.
Since the current Fund Manager released is pre-alpha stage and not final stage, its configured to log all the details possible. If you want to keep your log files small, you can replace "DEBUG" with "INFO" for the key "log4j.rootLogger".
KEY | DEFAULT VALUES | USAGE DESCRIPTION |
log4j.rootLogger | DEBUG, main | Levels of logging |
log4j.appender.main | org.apache.log4j.FileAppender | While running in development mode, the value should be org.apache.log4j.ConsoleAppender |
log4j.appender.main.file | logs\\fundmanager.log | Log file name and its relative location. |
log4j.appender.main.layout | org.apache.log4j.PatternLayout | Logging layout |
log4j.appender.main.layout.ConversionPattern | %d{yyyy-MM-dd HH:mm:ss} [%-5p] [%t] %c - %m%n | {yyyy-MM-dd HH:mm:ss} : displays date and time. [%-5p] : Logger [%t] : Thread %c : Class %m%n: Message and Exception Stack Trace |
Modifying Database Settings
Fund Manager loads database settings from "config/database.properties" configuration files.
Warning: You should NOT modify this file for any reason.