get_history_index_csi300.php 302 B

12345678910111213
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: 王刚涛
  5. * Date: 2020/11/24
  6. * Time: 19:16
  7. * 获取某天的某个股票的数据
  8. */
  9. require('../init.php');
  10. $stock_code="399300";
  11. $start_date=20140101;
  12. $end_date=date("Ymd",time());
  13. Finance163::get_history_index_csi300($stock_code,$start_date,$end_date);