INVESTMENTS AND FAIR VALUE MEASUREMENTS - REALIZED AND UNREALIZED GAINS AND LOSSES EQUITY AND DERIVATIVE INSTRUMENTS (Details) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Jan. 31, 2026 |
Jan. 31, 2025 |
Jan. 31, 2026 |
Jan. 31, 2025 |
|
| INVESTMENTS AND FAIR VALUE MEASUREMENTS | ||||
| Net unrealized gains (losses) recognized on marketable-equity securities | $ (4,203) | $ 9,028 | $ (988) | $ 8,252 |
| Net realized gains (losses) recognized on marketable equity securities | (1,732) | 2,095 | (2,910) | 6,037 |
| Net unrealized gains (losses) recognized on derivative instruments | (4,252) | (3,702) | 837 | (2,945) |
| Net realized gains recognized on derivative instruments | 4,053 | 5,070 | 5,677 | 8,532 |
| Net realized gains (losses) recognized on marketable debt securities | 130 | 0 | (107) | 1,308 |
| Total net gains recognized in interest income and other income (loss), net | $ (6,004) | $ 12,491 | $ 2,509 | $ 21,184 |
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of realized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of realized gain (loss) from sale of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of unrealized gain (loss) on investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of realized and unrealized gain (loss) on investment. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition The difference between the book value and the sale price of options, swaps, futures, forward contracts, and other derivative instruments. This element refers to the gain (loss) included in earnings. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition The net change in the difference between the fair value and the carrying value, or in the comparative fair values, of derivative instruments, including options, swaps, futures, and forward contracts, held at each balance sheet date, that was included in earnings for the period. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|