Over the years, I've found Shogakukan's (KDJ) to be a good resource for etymologies and term dating. Their entry here at Kotobank lists a first citation in Japanese to 1929, roughly in line with the appearance of the term _"in the red"_ in English, dated to 1926 in this Wiktionary entry.
The Japanese Wikipedia article on lists a slightly later appearance in 1931, close enough to the KDJ for rough purposes. This article notes that the Japanese term may have arisen as follows (my explanatory addition [in square brackets]):
>
> The Japanese terms "red figures" and "black figures" may be derived directly from this Western bookkeeping [writing income and gains in black, and expenditures and losses in red], or they may be borrowings from the aforementioned Western languages.