mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
Compare commits
2 Commits
82d07a0098
...
a9b71adce9
Author | SHA1 | Date | |
---|---|---|---|
|
a9b71adce9 | ||
|
f83491af26 |
|
@ -27,6 +27,10 @@ func (s *Strategy) placeTakeProfitOrders(ctx context.Context) error {
|
|||
}
|
||||
|
||||
roundPosition := types.NewPositionFromMarket(s.Market)
|
||||
roundPosition.SetExchangeFeeRate(s.ExchangeSession.ExchangeName, types.ExchangeFee{
|
||||
MakerFeeRate: s.ExchangeSession.MakerFeeRate,
|
||||
TakerFeeRate: s.ExchangeSession.TakerFeeRate,
|
||||
})
|
||||
|
||||
for _, trade := range trades {
|
||||
s.logger.Infof("add trade into the position of this round %s", trade.String())
|
||||
|
|
Loading…
Reference in New Issue
Block a user