The federal government sets forth regulations on some aspects of bail in canada such as the nature of crimes that are not eligible for receiving bail. Visit this site http://saggilawfirm.com/best-criminal-lawyer-brampton/ for more information on bail in canada. Some examples of crimes that are not eligible for receiving bail are capital crimes and treason. The state has legislation set forth as well determining the minimum and maximum amount that can be set by the judge for particular types of crimes. A judge will then use their discretion on the bail amount depending on the nature of the crime, the defendant's prior criminal history, and the flight risk of the defendant. In some cases the maximum bail amount will be set to try to dissuade the defendant from securing their release pending the outcome of the trial.