curl -sS -u admin:xxx http://localhost:8000/executors/ -H "Content-Type: application/json" -d '
{
"account_name": "master_account",
"executor_config": {
"type": "position_executor",
"connector_name": "architect_perpetual_sandbox",
"trading_pair": "JPY-USD",
"side": 1,
"entry_price": "0.006301",
"amount": "10000",
"leverage": 1,
"triple_barrier_config": {
"stop_loss": "0.01",
"take_profit": "0.0005",
"time_limit": 60,
"open_order_type": 2,
"take_profit_order_type": 1,
"stop_loss_order_type": 1,
"time_limit_order_type": 1
}
}
}' | jq
Describe the bug
position_executorcancels an unfilled entry order whentime_limitis reached, even though no position was ever opened.Tested using sample position_executor payload below:
close_type: TIME_LIMITSteps to reproduce bug
time_limit: 60then deploy it