add doc comment

This commit is contained in:
c9s 2022-03-14 14:30:41 +08:00
parent 4b89f4a48b
commit 19f01bbca6

View File

@ -41,10 +41,12 @@ func NewTradeCollector(symbol string, position *types.Position, orderStore *Orde
} }
} }
// OrderStore returns the order store used by the trade collector
func (c *TradeCollector) OrderStore() *OrderStore { func (c *TradeCollector) OrderStore() *OrderStore {
return c.orderStore return c.orderStore
} }
// Position returns the position used by the trade collector
func (c *TradeCollector) Position() *types.Position { func (c *TradeCollector) Position() *types.Position {
return c.position return c.position
} }