Orders
Create order
REST API
- Introduction
- Authentication
- Assets
- Fee Rates
- Index
- Instruments
- Orders
- Portfolios
- Position Offsets
- Rankings
- Transfers
FIX API
WEBSOCKET FEED
Orders
Create order
Copy
Ask AI
OrdersService ordersService = IntxServiceFactory.createOrdersService(client);
CreateOrderRequest request = new CreateOrderRequest.Builder()
.instrument("BTC-PERP")
.side("BUY")
.size("0.0001")
.orderType("LIMIT")
.price("50000")
.tif("GTC")
.clientOrderId("1234567890")
.build();
CreateOrderResponse response = ordersService.createOrder(request);
For more information, please visit the INTX Java SDK.
Copy
Ask AI
OrdersService ordersService = IntxServiceFactory.createOrdersService(client);
CreateOrderRequest request = new CreateOrderRequest.Builder()
.instrument("BTC-PERP")
.side("BUY")
.size("0.0001")
.orderType("LIMIT")
.price("50000")
.tif("GTC")
.clientOrderId("1234567890")
.build();
CreateOrderResponse response = ordersService.createOrder(request);
For more information, please visit the INTX Java SDK.
Copy
Ask AI
var ordersService = new OrdersService(client);
var request = new CreateOrderRequest(
Instrument: "BTC-PERP",
Side: "BUY",
Size: "0.0001",
OrderType: "LIMIT",
Price: "50000",
Tif: "GTC",
ClientOrderId: "1234567890",
);
var response = ordersService.CreateOrder(request);
For more information, please visit the INTX .NET SDK.
Copy
Ask AI
ordersSvc := orders.NewOrdersService(client)
request := &orders.CreateOrderRequest{
Instrument: "BTC-PERP",
Side: "BUY",
Size: "0.0001",
OrderType: "LIMIT",
Price: "50000",
Tif: "GTC",
ClientOrderId: "1234567890",
}
response, err := ordersSvc.CreateOrder(context.Background(), request)
For more information, please visit the INTX Go SDK.
Copy
Ask AI
client = IntxClient()
request = CreateOrderRequest(
instrument="BTC-PERP",
side="BUY",
size="0.0001",
order_type="LIMIT",
price="50000",
tif="GTC",
client_order_id="1234567890",
)
response = client.create_order(request)
For more information, please visit the INTX Python SDK.
Copy
Ask AI
const ordersService = new OrdersService(client);
ordersService.getOrder({
clientOrderId: 'CLIENT_ORDER_ID_HERE',
instrument: 'ETH-PERP',
side: OrderSide.BUY,
size: '0.001',
orderType: OrderType.LIMIT,
tif: TimeInForce.GTC,
price: '4000',
}).then(async (response) => {
console.log('Order Created: ', response);
})
For more information, please visit the INTX TS SDK.
Copy
Ask AI
intxctl create-order --help
For more information, please visit the INTX CLI.
Was this page helpful?
Assistant
Responses are generated using AI and may contain mistakes.