Set the type back to market

This commit is contained in:
Mark Veidemanis 2022-11-15 07:20:17 +00:00
parent 2aac7d1bb5
commit c8f776e2a8
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 2 additions and 1 deletions

View File

@ -261,7 +261,8 @@ def execute_strategy(callback, strategy):
# For OANDA we can use the price since it should match exactly
# Not yet sure how to use both limit and market orders
type = "limit"
# type = "limit"
type = "market"
# Convert the trade size, which is currently in the account's base currency,
# to the base currency of the pair we are trading