init code
This commit is contained in:
8
internal/data/imarket.go
Normal file
8
internal/data/imarket.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package data
|
||||
|
||||
type IMarket interface {
|
||||
GetFuturePrice(symbol string) (float64, float64, int64, bool)
|
||||
GetAllFundRate() (map[string]float64, map[string]int64)
|
||||
|
||||
GetSpotPrice(symbol string) (float64, bool)
|
||||
}
|
||||
Reference in New Issue
Block a user