mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 16:55:15 +00:00
pivortshort: run placeResistanceOrders with margin borrow buy
This commit is contained in:
parent
1af18a5fac
commit
09ba2d31c3
|
@ -126,6 +126,7 @@ func (s *ResistanceShort) placeResistanceOrders(ctx context.Context, resistanceP
|
||||||
Price: price,
|
Price: price,
|
||||||
Quantity: quantity,
|
Quantity: quantity,
|
||||||
Tag: "resistanceShort",
|
Tag: "resistanceShort",
|
||||||
|
MarginSideEffect: types.SideEffectTypeMarginBuy,
|
||||||
})
|
})
|
||||||
|
|
||||||
// TODO: fix futures mode later
|
// TODO: fix futures mode later
|
||||||
|
|
Loading…
Reference in New Issue
Block a user