|
@@ -12,41 +12,41 @@ import (
|
|
|
// FutureGoodEdbData 期货指标数据的表
|
|
|
type FutureGoodEdbData struct {
|
|
|
FutureGoodEdbDataId int `gorm:"primaryKey;autoIncrement;column:future_good_edb_data_id"`
|
|
|
- FutureGoodEdbInfoId int `description:"期货指标id"`
|
|
|
- FutureGoodEdbCode string `description:"期货指标code"`
|
|
|
- DataTime time.Time `description:"数据日期"`
|
|
|
- TradeCode string `description:"证券代码"`
|
|
|
- Open float64 `description:"开盘价"`
|
|
|
- High float64 `description:"最高价"`
|
|
|
- Low float64 `description:"最低价"`
|
|
|
- Close float64 `description:"收盘价"`
|
|
|
- Volume float64 `description:"成交量"`
|
|
|
- Amt float64 `description:"成交额"`
|
|
|
- Oi float64 `description:"持仓量"`
|
|
|
- Settle float64 `description:"结算价"`
|
|
|
- DataTimestamp int64 `description:"数据日期时间戳"`
|
|
|
- ModifyTime time.Time
|
|
|
- CreateTime time.Time
|
|
|
+ FutureGoodEdbInfoId int `gorm:"column:future_good_edb_info_id" description:"期货指标id"`
|
|
|
+ FutureGoodEdbCode string `gorm:"column:future_good_edb_code" description:"期货指标code"`
|
|
|
+ DataTime time.Time `gorm:"column:data_time" description:"数据日期"`
|
|
|
+ TradeCode string `gorm:"column:trade_code" description:"证券代码"`
|
|
|
+ Open float64 `gorm:"column:open" description:"开盘价"`
|
|
|
+ High float64 `gorm:"column:high" description:"最高价"`
|
|
|
+ Low float64 `gorm:"column:low" description:"最低价"`
|
|
|
+ Close float64 `gorm:"column:close" description:"收盘价"`
|
|
|
+ Volume float64 `gorm:"column:volume" description:"成交量"`
|
|
|
+ Amt float64 `gorm:"column:amt" description:"成交额"`
|
|
|
+ Oi float64 `gorm:"column:oi" description:"持仓量"`
|
|
|
+ Settle float64 `gorm:"column:settle" description:"结算价"`
|
|
|
+ DataTimestamp int64 `gorm:"column:data_timestamp" description:"数据日期时间戳"`
|
|
|
+ ModifyTime time.Time `gorm:"column:modify_time"`
|
|
|
+ CreateTime time.Time `gorm:"column:create_time"`
|
|
|
}
|
|
|
|
|
|
// FutureGoodEdbDataItem 期货指标数据的表
|
|
|
type FutureGoodEdbDataItem struct {
|
|
|
- FutureGoodEdbDataId int `gorm:"primaryKey;autoIncrement;column:future_good_edb_data_id"`
|
|
|
- FutureGoodEdbInfoId int `description:"期货指标id"`
|
|
|
- FutureGoodEdbCode string `description:"期货指标code"`
|
|
|
- DataTime string `description:"数据日期"`
|
|
|
- TradeCode string `description:"证券代码"`
|
|
|
- Open float64 `description:"开盘价"`
|
|
|
- High float64 `description:"最高价"`
|
|
|
- Low float64 `description:"最低价"`
|
|
|
- Close float64 `description:"收盘价"`
|
|
|
- Volume float64 `description:"成交量"`
|
|
|
- Amt float64 `description:"成交额"`
|
|
|
- Oi float64 `description:"持仓量"`
|
|
|
- Settle float64 `description:"结算价"`
|
|
|
- DataTimestamp int64 `description:"数据日期时间戳"`
|
|
|
- ModifyTime time.Time
|
|
|
- CreateTime time.Time
|
|
|
+ FutureGoodEdbDataId int `gorm:"primaryKey;autoIncrement;column:future_good_edb_data_id"`
|
|
|
+ FutureGoodEdbInfoId int `gorm:"column:future_good_edb_info_id" description:"期货指标id"`
|
|
|
+ FutureGoodEdbCode string `gorm:"column:future_good_edb_code" description:"期货指标code"`
|
|
|
+ DataTime string `gorm:"column:data_time" description:"数据日期"`
|
|
|
+ TradeCode string `gorm:"column:trade_code" description:"证券代码"`
|
|
|
+ Open float64 `gorm:"column:open" description:"开盘价"`
|
|
|
+ High float64 `gorm:"column:high" description:"最高价"`
|
|
|
+ Low float64 `gorm:"column:low" description:"最低价"`
|
|
|
+ Close float64 `gorm:"column:close" description:"收盘价"`
|
|
|
+ Volume float64 `gorm:"column:volume" description:"成交量"`
|
|
|
+ Amt float64 `gorm:"column:amt" description:"成交额"`
|
|
|
+ Oi float64 `gorm:"column:oi" description:"持仓量"`
|
|
|
+ Settle float64 `gorm:"column:settle" description:"结算价"`
|
|
|
+ DataTimestamp int64 `gorm:"column:data_timestamp" description:"数据日期时间戳"`
|
|
|
+ ModifyTime time.Time `gorm:"column:modify_time"`
|
|
|
+ CreateTime time.Time `gorm:"column:create_time"`
|
|
|
}
|
|
|
|
|
|
// FutureGoodDataFromThs 同花顺期货数据
|