Files
thuanle 94a11e8d68
All checks were successful
Build Docker Image / build (amd64) (push) Successful in 1m47s
add margin
2024-10-24 10:58:32 +07:00

10 lines
252 B
Go

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