Marketable Securities
9 Months Ended
Apr. 30, 2018
Investments, Debt and Equity Securities [Abstract]  
Marketable Securities
3. Marketable Securities:
 
The Company categorizes marketable securities as either trading, available-for-sale or held-to-maturity. Trading securities are carried at fair value with unrealized gains and losses included in income. Available-for-sale securities are carried at fair value measurements using quoted prices in active markets for identical assets or liabilities with unrealized gains and losses recorded as a separate component of shareholders' equity. Held-to-maturity securities are carried at amortized cost. Dividends and interest income are accrued as earned. Realized gains and losses are determined on a specific identification basis. The Company reviews marketable securities for impairment whenever circumstances and situations change such that there is an indication that the carrying amounts may not be recovered. The Company did not classify any securities as trading or held to maturity during the nine months ended April 30, 2018 and year ended July 31, 2017.

                The Company follows GAAP which establishes a fair value hierarchy that prioritizes the valuation techniques and creates the following three broad levels, with Level 1 valuation being the highest priority:

                       Level 1 valuation inputs are quoted market prices in active markets for identical assets or liabilities that are accessible at the measurement date (e.g., equity securities traded on the New York Stock Exchange).
 
Level 2 valuation inputs are from other than quoted market prices included in Level 1 that are observable for the asset or liability, either directly or indirectly (e.g., quoted market prices of similar assets or liabilities in active markets, or quoted market prices for identical or similar assets or liabilities in markets that are not active).
  
Level 3 valuation inputs are unobservable (e.g., an entity’s own data) and should be used to measure fair value to the extent that observable inputs are not available.
 
Following is a description of the valuation methodologies used for assets measured at fair value on a recurring basis. There have been no changes in the methodologies used at April 30, 2018 and July 31, 2017.
 
Equity securities are valued at the closing price reported on the active market on which the individual securities are traded that the Company has access to.
 
Mutual funds are valued at the daily closing price as reported by the fund. Mutual funds held by the Company are open-end mutual funds that are registered with the Securities and Exchange Commission. These funds are required to publish their daily net asset value (“NAV”) and to transact at that price. The mutual funds held by the Company are deemed to be actively traded.

In accordance with the provisions of Fair Value Measurements, the following are the Company's financial assets measured on a recurring basis presented at fair value.

Fair value measurements at reporting date
 
  Total Total
  April 30, July 31,
Description   2018         Level 1         Level 2         Level 3        2017         Level 1         Level 2         Level 3
Assets:  
Marketable securities - available-for-sale   $ 2,722,917 $ 2,722,917 $ – – $ 2,815,727 $ 2,815,727 $ – $      –

As of April 30, 2018 and July 31, 2017, the Company's marketable securities were classified as follows:

April 30, 2018 July 31, 2017
Gross Gross Gross Gross
      Unrealized    Unrealized    Fair       Unrealized    Unrealized    Fair
Cost Gains Losses Value Cost Gains Losses Value
Noncurrent:
Available-for-sale:
Mutual funds $ 773,158 $ 197,217 $ – $ 970,375 $ 716,463 $    193,932 $ – $    910,395
Equity securities 1,312,772 453,562 13,792 1,752,542 1,540,788 364,544 – 1,905,332
$    2,085,930 $    650,779 $    13,792 $    2,722,917 $    2,257,251 $ 558,476 $ – $ 2,815,727

The Company's equity securities, gross unrealized losses and fair value, aggregated by investment category and length of time that the investment securities have been in a continuous unrealized loss position are as follows:

April 30, 2018 July 31, 2017
Less Than Less Than
        Fair Value         12 Months         Fair Value         12 Months
Corporate equity securities $ 120,188 $ 13,792 $ – $ –
 
Investment income consists of the following:
Three Months Ended Nine Months Ended
April 30 April 30
2018 2017 2018 2017
Gain (loss) on sale of marketable securities $ 912 $ 31,155 $ (805 ) $ 23,734
Interest income 5,737 2,941 12,488 9,287
Dividend income 9,260 7,810 78,448 47,449
Total $ 15,909 $ 41,906 $ 90,131 $ 80,470