Type/to search
Built-in Functions
Global
Log
Market
Trade
Account
Futures
Exchange
IO
Network
Storage
Threads
TA
Talib
OS
os
File
File.close
File.puts
File.printf
File.flush
File.tell
File.seek
File.eof
File.read
File.write
File.getline
File.toString
ListFilesResult
FileStat
Structures
Built-in Variables and Constants
Conventions
Exchanges

An object that provides file read/write, positioning and other operations.

In this sectionRead the whole section

NameDescription
File.closeClose the file and release associated resources.
File.putsWrite one or more strings to a file.
File.printfWrite formatted data to file.
File.flushFlush the file buffer to ensure data is written to disk.
File.tellGet the current file pointer position.
File.seekMove the file pointer to a specified position.
File.eofCheck if the file pointer has reached the end of file.
File.readRead data from a file.
File.writeWrite string data to a file.
File.getlineRead the next line from the file.
File.toStringGet the string representation of the file object.