shanghai_smm.go 841 B

12345678910111213141516171819202122232425262728293031
  1. package shanghaismm
  2. import "time"
  3. type SmmData struct {
  4. Highs float64 `json:"highs"`
  5. Low float64 `json:"low"`
  6. Average float64 `json:"average"`
  7. VchangeRate float64 `json:"vchange_rate"`
  8. LowShow string `json:"low_show"`
  9. HighShow string `json:"high_show"`
  10. AverageShow string `json:"average_show"`
  11. ProductId string `json:"product_id"`
  12. Vchange float64 `json:"vchange"`
  13. RenewDate string `json:"renew_date"`
  14. ChangeValueShow string `json:"change_value_show"`
  15. ChangeRateShow string `json:"change_rate_show"`
  16. }
  17. type EdbInfoData struct {
  18. ClassifyName string
  19. IndexName string
  20. IndexCode string
  21. Frequency string
  22. Unit string
  23. Value string
  24. LastDate time.Time
  25. OldDate time.Time
  26. Data map[string]float64
  27. SmmData
  28. }