सक्रिय आदेश प्राप्त करें:

GET /orders

मापदंडों का अनुरोध करें:

मापदंड प्रकार विवरण
pair_id integer जोड़े का आईडी
per_page integer
min: 10, max: 100
आदेशों की गिनती
स्तर: संख्या
page integer पृष्ठ संख्या

उदाहरण प्रतिक्रिया:

[
    {
        "id": 71986208,
        "type": "limit",
        "side": "sell",
        "price": "0.01295000",
        "status": "active",
        "full_size": "8000.00000000",
        "left_size": "8000.00000000",
        "full_amount": "103.60000000",
        "left_amount": "103.60000000",
        "pair": {
            "id": 129,
            "base": {
                "id": 37,
                "name": "S",
                "description": "Utility token by Sharpay\r\nSharpay is a new share and multi-share button for websites with blockchain-based rewards of content promotion for users."
            },
            "quote": {
                "id": 2,
                "name": "USD",
                "description": "Dollar"
            },
            "exchange_url": "https:\/\/simex.global\/hi\/exchange\/s\/usd"
        }
    },
    {
        "id": 71986588,
        "type": "limit",
        "side": "sell",
        "price": "0.06975940",
        "status": "active",
        "full_size": "6526.22447893",
        "left_size": "6526.22447893",
        "full_amount": "455.26550391",
        "left_amount": "455.26550391",
        "pair": {
            "id": 121,
            "base": {
                "id": 35,
                "name": "MLC",
                "description": "The MallCoin token (MLC) has an ERC-20 standard. As part of the project, it is positioned as a means of paying for paid platform services. In addition, users of MLC tokens will be able to make purchases directly to FLOGmall."
            },
            "quote": {
                "id": 2,
                "name": "USD",
                "description": "Dollar"
            },
            "exchange_url": "https:\/\/simex.global\/hi\/exchange\/mlc\/usd"
        }
    },
    {
        "id": 71987395,
        "type": "limit",
        "side": "sell",
        "price": "0.06975938",
        "status": "active",
        "full_size": "4573.00000000",
        "left_size": "4573.00000000",
        "full_amount": "319.00964474",
        "left_amount": "319.00964474",
        "pair": {
            "id": 121,
            "base": {
                "id": 35,
                "name": "MLC",
                "description": "The MallCoin token (MLC) has an ERC-20 standard. As part of the project, it is positioned as a means of paying for paid platform services. In addition, users of MLC tokens will be able to make purchases directly to FLOGmall."
            },
            "quote": {
                "id": 2,
                "name": "USD",
                "description": "Dollar"
            },
            "exchange_url": "https:\/\/simex.global\/hi\/exchange\/mlc\/usd"
        }
    }
]

एक आदेश प्राप्त करें:

GET /orders/{id}

उदाहरण प्रतिक्रिया:

{
    "id": 74211695,
    "type": "limit",
    "side": "buy",
    "price": "0.00001100",
    "status": "completed",
    "full_size": "780000.00000000",
    "left_size": "0.00000000",
    "full_amount": "8.58000000",
    "left_amount": "0.00000000",
    "pair": {
        "id": 129,
        "base": {
            "id": 37,
            "name": "S",
            "description": "Utility token by Sharpay\r\nSharpay is a new share and multi-share button for websites with blockchain-based rewards of content promotion for users."
        },
        "quote": {
            "id": 2,
            "name": "USD",
            "description": "Dollar"
        },
        "exchange_url": "https:\/\/simex.global\/hi\/exchange\/s\/usd"
    }
}

एक ऑर्डर बनाएं:

POST /orders

मापदंडों का अनुरोध करें:

मापदंड प्रकार विवरण
pair_id * integer जोड़े का आईडी
side * string आदेश का प्रकार
buy, sell
size * numeric आदेश का मान
price * numeric आदेश मूल्य

उदाहरण प्रतिक्रिया:

{
    "id": 74211695,
    "type": "limit",
    "side": "buy",
    "price": "0.00001100",
    "status": "completed",
    "full_size": "780000.00000000",
    "left_size": "0.00000000",
    "full_amount": "8.58000000",
    "left_amount": "0.00000000",
    "pair": {
        "id": 129,
        "base": {
            "id": 37,
            "name": "S",
            "description": "Utility token by Sharpay\r\nSharpay is a new share and multi-share button for websites with blockchain-based rewards of content promotion for users."
        },
        "quote": {
            "id": 2,
            "name": "USD",
            "description": "Dollar"
        },
        "exchange_url": "https:\/\/simex.global\/hi\/exchange\/s\/usd"
    }
}

ऑर्डर रद्द करें:

DELETE /orders/{id}

उदाहरण प्रतिक्रिया:

{
    "id": 74211695,
    "type": "limit",
    "side": "buy",
    "price": "0.00001100",
    "status": "completed",
    "full_size": "780000.00000000",
    "left_size": "0.00000000",
    "full_amount": "8.58000000",
    "left_amount": "0.00000000",
    "pair": {
        "id": 129,
        "base": {
            "id": 37,
            "name": "S",
            "description": "Utility token by Sharpay\r\nSharpay is a new share and multi-share button for websites with blockchain-based rewards of content promotion for users."
        },
        "quote": {
            "id": 2,
            "name": "USD",
            "description": "Dollar"
        },
        "exchange_url": "https:\/\/simex.global\/hi\/exchange\/s\/usd"
    }
}

वापस अगला