kriasoft / amibroker

AmiBroker .NET SDK - An open source plug-in project template and community plug-ins for AmiBroker
Apache License 2.0
69 stars 77 forks source link

what are the parameters and return value from GetRecentInfo() method #9

Open cupid-gracer opened 3 years ago

cupid-gracer commented 3 years ago

I am attempting to display the live data into "real time quotes window" So I did override the method"GetRecentInfo(string ticker)" then Amibroker called this method, but I cant return RecentInfo data to Amibroker. I did found the GetRecent format, no where that was.

The format I did

public static void GetRecentInfo(string ticker) { RecentInfo rc = new RecentInfo(); ..... } and public static void GetRecentInfo(string ticker, out RecentInfo)
{ rc = new RecentInfo(); ..... }

public static RecentInfo GetRecentInfo(string ticker)
{ RecentInfo rc = new RecentInfo(); ... return rc }

I hope you to give advises.