XML 52 R42.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Investments in Trading Securities (Details) - USD ($) | 3 Months Ended
--- | ---
Oct. 31, 2022 | Oct. 31, 2021
Investments, Debt and Equity Securities [Abstract] |  |
Decrease in fair value | $ 20,004 | $ 339,374

X
- Definition Amount of Decrease in fair value, amount. + References No definition available. + Details
Name: | atif_DecreaseInFairValueAmount
Namespace Prefix: | atif_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration