joinquant 判断当前股票是否已经上市

if (get_security_info('601398.XSHG').start_date - datetime.date(context.current_dt.date().year,context.current_dt.date().month, context.current_dt.date().day)).days < 0:
   log.info('已经上市')

http://www.waitingfy.com/archives/1861

1861

Leave a Reply

Name and Email Address are required fields.
Your email will not be published or shared with third parties.