parent
104a73025d
commit
c61b986c3d
@ -525,6 +525,13 @@ It means if the order is not executed immediately AND fully then it is cancelled
|
|||||||
It is the same as FOK (above) except it can be partially fulfilled. The remaining part
|
It is the same as FOK (above) except it can be partially fulfilled. The remaining part
|
||||||
is automatically cancelled by the exchange.
|
is automatically cancelled by the exchange.
|
||||||
|
|
||||||
|
**PO (Post only):**
|
||||||
|
|
||||||
|
Post only order. The order is either placed as a maker order, or it is canceled.
|
||||||
|
This means the order must be placed on orderbook for at at least time in an unfilled state.
|
||||||
|
|
||||||
|
#### time_in_force config
|
||||||
|
|
||||||
The `order_time_in_force` parameter contains a dict with entry and exit time in force policy values.
|
The `order_time_in_force` parameter contains a dict with entry and exit time in force policy values.
|
||||||
This can be set in the configuration file or in the strategy.
|
This can be set in the configuration file or in the strategy.
|
||||||
Values set in the configuration file overwrites values set in the strategy.
|
Values set in the configuration file overwrites values set in the strategy.
|
||||||
@ -539,7 +546,7 @@ The possible values are: `GTC` (default), `FOK` or `IOC`.
|
|||||||
```
|
```
|
||||||
|
|
||||||
!!! Warning
|
!!! Warning
|
||||||
This is ongoing work. For now, it is supported only for binance and kucoin.
|
This is ongoing work. For now, it is supported only for binance, gate, ftx and kucoin.
|
||||||
Please don't change the default value unless you know what you are doing and have researched the impact of using different values for your particular exchange.
|
Please don't change the default value unless you know what you are doing and have researched the impact of using different values for your particular exchange.
|
||||||
|
|
||||||
### What values can be used for fiat_display_currency?
|
### What values can be used for fiat_display_currency?
|
||||||
|
@ -19,6 +19,7 @@ logger = logging.getLogger(__name__)
|
|||||||
class Ftx(Exchange):
|
class Ftx(Exchange):
|
||||||
|
|
||||||
_ft_has: Dict = {
|
_ft_has: Dict = {
|
||||||
|
"order_time_in_force": ['GTC', 'IOC', 'PO'],
|
||||||
"stoploss_on_exchange": True,
|
"stoploss_on_exchange": True,
|
||||||
"ohlcv_candle_limit": 1500,
|
"ohlcv_candle_limit": 1500,
|
||||||
"ohlcv_require_since": True,
|
"ohlcv_require_since": True,
|
||||||
|
Loading…
Reference in New Issue
Block a user