syntax = "proto3";

package IBProto;

import "Contract.proto";
import "Order.proto";

message AttachedOrders {
    optional int32 slOrderId = 1;
    optional string slOrderType = 2;
    optional int32 ptOrderId = 3;
    optional string ptOrderType = 4;
}

message PlaceOrderRequest {
    optional int32 orderId = 1;
    optional Contract contract = 2;
    optional Order order = 3;
    optional AttachedOrders attachedOrders = 4;
}
