Set the type back to market

This commit is contained in:
2022-11-15 07:20:17 +00:00
parent 2aac7d1bb5
commit c8f776e2a8

View File

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