Set the type back to market
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user