Can you read and write local files with JavaScript?

Author: gzliangjianhua, Created: 2018-09-16 21:42:10, Updated:

My strategy requires a little bit longer historical data, but the exchange can only return the most recent data, it takes several days to run the policy and record the data, but the problem is that after I modify the policy and run it again for a few more days, I hope to record the data in real time in txt, and the next time I restart it directly read txt. But the example of reading a file in web javascript is not defined here, do not know how to do this.


More

gzliangjianhuaIt's been solved, thank you.

nxtplayerUse the _G() functional methods. See the API documentation for more details.