The broker API does not submit take profit to the broker. Instead, it withholds the TP value until it is time to close the trade/position.