Update order time in force to use entry/exit wording

This commit is contained in:
Matthias
2022-03-07 07:09:01 +01:00
parent da733a458d
commit 3ff261e22c
17 changed files with 88 additions and 40 deletions

View File

@@ -45,8 +45,8 @@ class HyperoptableStrategy(IStrategy):
# Optional time in force for orders
order_time_in_force = {
'buy': 'gtc',
'sell': 'gtc',
'entry': 'gtc',
'exit': 'gtc',
}
buy_params = {

View File

@@ -47,8 +47,8 @@ class StrategyTestV2(IStrategy):
# Optional time in force for orders
order_time_in_force = {
'buy': 'gtc',
'sell': 'gtc',
'entry': 'gtc',
'exit': 'gtc',
}
# By default this strategy does not use Position Adjustments

View File

@@ -48,8 +48,8 @@ class StrategyTestV3(IStrategy):
# Optional time in force for orders
order_time_in_force = {
'buy': 'gtc',
'sell': 'gtc',
'entry': 'gtc',
'exit': 'gtc',
}
buy_params = {