↑ This is my previous problem, it is solved, thanks to Zhenya Kovalyov.
After I finished implementing the API of Eikon (RtGet , RData, TR), I met another problem, when I execute the program with calling the API by windows task scheduler, the status is always executing and non-stop.
I can make sure the program is ok when I execute stand-alone, but it will be some problems when using task scheduler.
Please refer to my attachment, thanks!!!
I can run the application properly when using task scheduler. It created a test.txt file with the following content.
0-0 : PRIMACT_1 0-1 : 0.7555 0-0 : 0-1 : Moody's Long-term Issuer Rating 0-2 : Fitch Long-term Issuer Default Rating 1-0 : AUGV5YUSAQ=R 1-1 : Aaa 1-2 : AAA
Can you export the task so we will know its settings?