Thanks for your answer Robert!
You can do it using the application but I´m sure that it can be possible using API because it´s very useful for automated trading.
When you using options you can select strategies or custom, you can design your order as for example: one option + one stock.
Another example:
{
"Legs": [
{
"Quantity": 2,
"Side": "SellShort",
"Symbol": "AAPL 200214C00327500",
},
{
"Quantity": 2,
"Side": "Buy",
"Symbol": "AAPL 200214C00380000",
}
],
"ExecInst": "AllOrNone",
"ExpireDate": "2020-11-04T08:44:17.738365+00:00",
"Price": 0.5,
"Quantity": 2,
"Symbol": "",
"TimeInForce": "Day",
"Type": "Limit"
}