Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AccountMarginLevelMetrics = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "bbgo_account_margin_level", Help: "account margin level metrics", }, []string{"exchange", "account_type", "isolated_symbol"})
Functions ¶
func UpdateMakerOpenOrderMetrics ¶
func UpdateMakerOpenOrderMetrics(strategyType, strategyId, exchangeName, symbol string, submitOrders []types.SubmitOrder)
UpdateMakerOpenOrderMetrics updates the metrics for maker open orders. It assumes that the orders have been partially or all canceled. In the case of a partial cancel, the submitOrders should be the active orders.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.