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

@@ -83,8 +83,8 @@ class {{ strategy }}(IStrategy):
# Optional order time in force.
order_time_in_force = {
'buy': 'gtc',
'sell': 'gtc'
'entry': 'gtc',
'exit': 'gtc'
}
{{ plot_config | indent(4) }}

View File

@@ -84,8 +84,8 @@ class SampleShortStrategy(IStrategy):
# Optional order time in force.
order_time_in_force = {
'buy': 'gtc',
'sell': 'gtc'
'entry': 'gtc',
'exit': 'gtc'
}
plot_config = {

View File

@@ -85,8 +85,8 @@ class SampleStrategy(IStrategy):
# Optional order time in force.
order_time_in_force = {
'buy': 'gtc',
'sell': 'gtc'
'entry': 'gtc',
'exit': 'gtc'
}
plot_config = {