Nexo Pro for PHP
  • ⚡Install
  • Portfolio
    • Get account balances
    • Get pairs
    • Get pair quote
  • Orders
    • Place an order
    • Get order details
    • Get order history
  • Trades
    • Get trades history
  • Credits
Powered by GitBook
On this page
  1. Orders

Place an order

Places an order and instantly returns the id, as execution against exchanges is asynchronous.

Example:
$order = NexoPro::placeOrder(
    pair: 'BTC/USDT',
    side: 'buy',
    type: 'limit',
    amount: 0.01,
    price: 16500
);
{
  "id": "1234567768_8989"
}

Use the id to get more specific information via getOrder().

PreviousGet pair quoteNextGet order details

Last updated 2 years ago