Set the type back to market

Mark Veidemanis 2 years ago
parent 2aac7d1bb5
commit c8f776e2a8
Signed by: m
GPG Key ID: 5ACFCEED46C0904F

@ -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

Loading…
Cancel
Save