Accounting of trading gold (ofcause at Vietnam only) very complex.
- You must freeze a margin before placing an order (pending orders).
- In long order, you borrow %money (based on %margin) + your own margin to buy gold. Of cause the gold locked, until you sell to close the order or deposit money to pay debt to withdraw it.
- In short order, you borrow gold from bank to sell for money, but the money + margin is locked just for buy gold back to close the order. Except you deposit gold to unlocked the money.
Trading accounting journal
1. Place an order buy 1 gold price 2000, margin 1%
| Date | Account | Debit | Credit |
| Cash | 20 | ||
| Receivable Margin | 20 |
2 Cancel the pending order
| Date | Account | Debit | Credit |
| Cash | 20 | ||
| Receivable Margin | 20 |
3. Execute the pending order buy 1 gold @ 2000
| Date | Account | Debit | Credit |
| Receivable Margin | 20 | ||
| Money Debt | 1980 | ||
| Receivable Gold | 1 |
4. Sell close the order buy 1 gold @ 1990
| Date | Account | Debit | Credit |
| Cash | 10 | ||
| Money Debt | 1980 | ||
| Receivable Gold | 1 |
5. Execute a pending order sell gold @ 2200
| Date | Account | Debit | Credit |
| Receivable Margin | 22 | ||
| Gold Debt | 1 | ||
| Receivable Sell Gold | 2222 |
6. Buy close the order sell 1 gold @ 2210
| Date | Account | Debit | Credit |
| Cash | 12 | ||
| Gold Debt | 1 | ||
| Receivable Sell Gold | 2222 |
7. Deposit money to pay debt to withdraw gold
| Date | Account | Debit | Credit |
| Cash | 1980+fee | ||
| Money Debt | 1980 | ||
| Receivable Gold | 1 | ||
| Gold | 1 |
8. Deposit gold to unlocked money
| Date | Account | Debit | Credit |
| Cash | 2222-fee | ||
| Receivable Sell Gold | 2222 | ||
| Gold Debt | 1 | ||
| Gold | 1 |
How bank monitor the risk?