mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
23 lines
634 B
Go
23 lines
634 B
Go
package liquiditymaker
|
|
|
|
import "github.com/prometheus/client_golang/prometheus"
|
|
|
|
var openOrderBidExposureInUsdMetrics = prometheus.NewGaugeVec(
|
|
prometheus.GaugeOpts{
|
|
Name: "liqmaker_open_order_bid_exposure_in_usd",
|
|
Help: "",
|
|
}, []string{"strategy_type", "strategy_id", "exchange", "symbol"})
|
|
|
|
var openOrderAskExposureInUsdMetrics = prometheus.NewGaugeVec(
|
|
prometheus.GaugeOpts{
|
|
Name: "liqmaker_open_order_ask_exposure_in_usd",
|
|
Help: "",
|
|
}, []string{"strategy_type", "strategy_id", "exchange", "symbol"})
|
|
|
|
func init() {
|
|
prometheus.MustRegister(
|
|
openOrderBidExposureInUsdMetrics,
|
|
openOrderAskExposureInUsdMetrics,
|
|
)
|
|
}
|