Description Usage Arguments Value
View source: R/realtime_sina.R
This function simply query newest quotes from Sina and write to an sqlite database as provided by db argument. Since WAL is used for the database, please make sure that the file is not on a network location.
1 2 3 4 5 6 | sina_realtime_loop(
codes = default_srt_codes(),
db = get_srt_db(),
today = idate_now(),
api = TushareApi()
)
|
codes |
codes to query |
db |
file path to database |
today |
date of today |
api |
a tsapi object |
this function loops indefinately and does not return
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.