Market is expected to open lower tomorrow because Cyprus bank will be open tomorrow with all sort of condition imposed on withdrawing money. Here is why Cyprus in trouble.
Cyprus has agreed a deal with the European Union and the International Monetary Fund (IMF) to secure a 10bn euro bailout. It came just hours before a deadline set by the European Central Bank (ECB), and after a week of uncertainty about the future of Cyprus in the eurozone.
What has been agreed?
Cyprus has agreed to a significant restructuring of its banking sector, along with other measures such as tax rises and privatisations. The measures are designed to raise billions towards the bailout, but protect bank customers with deposits of 100,000 euros or less.
Cyprus's second largest bank - Laiki Bank - will be closed down and deposits above 100,000 euros moved into a "bad bank". Deposits below 100,000 euros will be moved into Bank of Cyprus, the country's biggest bank, which is being significantly restructured.
Deposits at Bank of Cyprus of more than 100,000 euros are being frozen.
At both banks, deposits above 100,000 euros will be tapped by the government to raise billions towards the bailout. It is not clear how much of the money will be taken, but a government spokesman suggests customers should expect to lose about 30% of the balance.
What about the bank levy?
In the original EU-IMF deal agreed a week ago, all customers of Cypriot banks were to face a one-off tax on their deposits, starting at 6.75% for the smallest deposits.
That was designed to raise 5.8bn euros towards the cost of the bailout. But it proved hugely unpopular with the Cypriot public and was voted down by Cyprus's parliament.
There is no bank levy in the new deal, but the bank restructuring measures mean deposits over 100,000 euros will effectively be used to pay the bulk of the 5.8bn-euro bill.
The measures cannot be voted down by Cyprus's parliament, as new bank restructuring laws were agreed and voted through by MPs last week.
Are the UK operations of Cypriot banks affected?
Bank of Cyprus UK has 50,000 UK customers. Although it is a subsidiary of Bank of Cyprus, it is a separately incorporated UK bank and depositors are protected by the UK's Financial Services Compensation Scheme (FSCS), which covers savings up to £85,000. It said the crisis in Cyprus would have no effect on its deposits.
Laiki Bank has four branches in Britain and serves 13,000 customers. Unlike Bank of Cyprus UK, its UK operations are directly controlled from Cyprus, and so are not covered by the FSCS.
It says deposits up to 100,000 euros are guaranteed and customers are free to make withdraws if they wish. But it also admitted that discussions were continuing with the Financial Services Authority, the Bank of England and Laiki's parent company in Cyprus. Deposits above 100,000 euros (£85,000) cannot be guaranteed.
So is the crisis over?
Not necessarily. In the short term, the risk of the Cypriot banking sector collapsing has receded, and the bailout funds will allow the government to pay its own debts and undertake the restructuring of the banks without facing economic collapse or exiting the euro.
But in other respects the outlook is less certain. Cyprus must enact tough austerity measures to rebuild its economy, and regain trust among investors in its banking sector and government. It is unclear whether the Cypriot public, angered by how the crisis has been handled so far, will support that.
It is also unclear how much trust is left in Cyprus's banks. The first indication could come on Thursday when they are due to reopen their doors.
Finally, the whole episode has damaged confidence in European authorities to handle economic crises.
What went wrong in Cyprus?
Before the financial crisis struck in 2008, Cyprus was seen to have a healthy economy, with high growth, low unemployment and sound public finances.
But during the good years, the island's banking sector grew rapidly. By 2011, the IMF reported that their assets - which include all the loans they have made - were equivalent to 835% of annual national income, or GDP. A chunk of that is down to foreign-owned banks, but those that are Cypriot had made loans to Greek borrowers worth 160% of Cypriot GDP.
When Greece became engulfed in crisis in 2010, the Cypriot banks were hit hard, and the government did not have the finances to bail them out itself. The government finances have been further weakened by slow economic growth and international lenders have stopped offering loans.
Negotiations on a bailout with the EU were delayed by the previous socialist government. President Nicos Anastasiades, a conservative who favoured a swift agreement with Europe, assumed office in late February.
Why was a bank levy considered?
When countries get an international bailout, they are often expected to raise funds themselves, by raising taxes or selling state-owned assets.
The levy on bank deposits was designed to play the same role. It was intended to reduce the size of the bailout and therefore the amount of new debt Cyprus had to take on.
But there is almost certainly a political aspect, too. In the eurozone, there are concerns about money-laundering in Cyprus and the presence of large amounts of Russian-owned money in the banks. Germany is reputed to be especially unhappy about the idea of using European taxpayers' money to rescue them.
Experts say the decision to target ordinary savers came about because Cypriot banks have fewer private bondholders than banks in other eurozone countries. In the Greek bailout, it was private bondholders who had to take a "haircut" - a slice out of their investment.
After the deal provoked outrage in Cyprus, the parliament promptly voted against it, and it is increasingly seen as a blunder by European and Cypriot authorities.