base_from_trade_index.go 293 B

12345678
  1. package data_manage
  2. /*func GetFirstBaseFromTradeIndexByDate(exchange string) (item *BaseFromTradeShanghaiIndex, err error) {
  3. o := orm.NewOrm()
  4. sql := "SELECT * FROM base_from_trade_" + exchange + "_index where rank < 50 order by data_time asc"
  5. err = o.Raw(sql).QueryRow(&item)
  6. return
  7. }*/