The resource loading... loading...

Log Functions

Function Name Brief Introduction
Log Output logs, support for setting log text color, support for setting push, support for printing images after base64 encoding
LogProfit Output P&L data, print P&L values and plot yield curves based on P&L values
LogProfitReset Empty the LogProfit function outputs all earnings logs, earnings charts
LogStatus Output information in the status bar, support for designing button controls in the status bar, support for outputting forms
EnableLog Turn logging of order information on or off
Chart Charting functions, based on Highcharts/Highstocks charting library
KLineChart Pine language style drawing function, which is used for customized drawing at the strategy runtime using a Pine-like language drawing style
LogReset Clear logs, support to retain a certain number of recent logs through the parameter settings
LogVacuum Reclaim SQLite resources for reclaiming storage space occupied by SQLite when deleting data after clearing the log by calling the LogReset() function
console.log Output debugging information in the “Debug Information” column on the live trading page
console.error Error information is output in the “Debug Information” column of the live trading page
Global Function Ticker Functions