Such investment shall be made by the finance board or the chief fiscal officer, if the finance board shall delegate such duty to that person. The separate identity of the proceeds from the sale of bonds, bond anticipation notes, capital notes, urban renewal notes and budget notes shall be maintained at all times, whether such proceeds consist of cash or investments or both. Any interest earned or capital gain realized on any investment shall be applied to either the payment of the principal of and interest on the bonds, bond anticipation notes, capital notes, urban renewal notes or budget notes, as the case may be, the proceeds from the sale of which were used in making such investment or for any other purpose or purposes for which such issue of bonds, capital notes or urban renewal notes has been authorized. Notwithstanding the preceding sentence, any interest earned or capital gain realized on any investment shall, to the extent necessary to maintain the exemption from federal income taxation of interest on the obligations the proceeds from the sale of which were used in making such investment, be paid to the United States treasury department, or any agency of the United States. Where the proceeds from the sale of bond anticipation notes have been invested and such notes have been retired from the proceeds from the sale of the bonds in anticipation of which they were issued, any interest earned or capital gain realized on any investment shall be applied only to the payment of the principal of and interest on the bonds.
N.Y. Local Fin. Law § 165.00