mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 06:53:52 +00:00
add doc comment
This commit is contained in:
parent
4b89f4a48b
commit
19f01bbca6
|
@ -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 {
|
||||
return c.orderStore
|
||||
}
|
||||
|
||||
// Position returns the position used by the trade collector
|
||||
func (c *TradeCollector) Position() *types.Position {
|
||||
return c.position
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user