package data type IMarket interface { GetFuturePrice(symbol string) (float64, float64, int64, bool) GetAllFundRate() (map[string]float64, map[string]int64) GetSpotPrice(symbol string) (float64, bool) }