Until now, I have used Subversion SVN with Google Code for my projects.
But recently, I have found another powerful version control: Git & Github.
SVN tutorial: [Pragmatic Bookshelf] Pragmatic Version Control Using Subversion
Git tutorial: [Pragmatic Bookshelf] Pragmatic Version.Control Using Git

I have just found a wonderful plug-in for graphical drawings (charts, maps,…) Protovis. Now I can use it for my finance study + R usings :)

There are 2 ways of using Protovis:

  • Download it from here and upload to your web root folder. Start using Protovis by do 2 following step


Read the rest of this entry »

tags

1. What is duration? What is its meaning to bonds?

- Duration is the average time to receive all cash flows from a bond or other assets. It measures in years.

- Duration is a measure of risk in bond portfolio investing, an important measure for investors to consider, as bonds with higher duration (same other factors) may have higher price volatility than bonds with lower duration.


Read the rest of this entry »

tags

Risks of Bond Investing

While generally considered safer and more stable than stocks, bonds have certain risks:

  • Interest rate risk: when interest rates rise, bond prices fall. If you need money and have to sell your bond before maturity in a higher rate environment, you will probably get less than you paid for it. Interest rate risk declines as the maturity date gets closer.
  • Credit risk: if the issuer runs into financial difficulty or declares bankruptcy, it could default on its obligation to pay the bondholders.
  • Liquidity risk: if the bond issuer’s credit rating falls or prevailing interest rates are much higher than the coupon rate, it may be hard for an investor who wants to sell before maturity to find a buyer. Bonds are generally more liquid during the initial period after issuance as that is when the largest volume of trading in that bond generally occurs.
  • Call risk or reinvestment risk: If a bond is callable, the issuer can redeem it prior to maturity, on defined dates for defined prices. Bonds are usually called when interest rates are falling, leaving the investor to reinvest the proceeds at lower rates.


Read the rest of this entry »

tags

1. Annuities:

- Ordinary Annuities: payments are required at the end of each period.

- Annuities Due: payments are required at the beginning of each period.

- Calculating of Ordinary Annuities:
Read the rest of this entry »

tags

1. Time Value of Money:

- Let say you deposit P dollars (this is your present value) into a bank with the interest rate r compounded once per year.


Read the rest of this entry »

tags

Spring MVC is used to develop MVC based web application.
Recall Spring MVC framework by the following picture.


Read the rest of this entry »

tags,

1. What is Spring?
The Spring is light weight, non-invasive IoC Container and AOP framework. It provides support for JPA, Hibernate, Web services, Schedulers, Ajax, Struts, JSF and many other frameworks.
Spring MVC is used for developing MVC based web application.
2. What does Spring do?
Spring’s main aim is to make J2EE easier to use and promote good programming practice. It does this by enabling a POJO-based programming model that is applicable in a wide range of environments.
3. How does Spring do?
Mapping bean data with property classes (also called dependency injection).
Use by XmlBeanFactory.
***NOTE: EL4J, AOP, IOC

tags,