hummingbot
hummingbot copied to clipboard
Add support for choosing TimeInForce parameters on strategies (GTC, IOC, FOK etc.)
Feature Suggestion
Add the extra flexible option of choosing all TimeInForce parameters - GTC, IOC, FOKetc.. so strategies can choose which type to use. Pass this as an argument in buy/sell_with_specific_market function.
Impact
More design flexibility for strategies that would need IOC or other currently unsupported order placement types.
Additional context
I've added IOC in the binance_perpetual, bybit_perpetual, bitmex_perpetual as default instead of GTC. I can help develop this feature to be passed from strategy component to connectors, the right way, and add this extra option to other supporting connectors as well.
+1, this is a very important feature imo