Chilkat Online Tools

Node.js / Binance european options API / Query Current Open Option Orders (USER_DATA)

Back to Collection Items

System.OutOfMemoryException: Insufficient memory to continue the execution of the program.
   at System.Runtime.InteropServices.Marshal.StringToHGlobalUni(String s)
   at Chilkat.CkMarshal.StringToX(String s, XString* x)
   at Chilkat.Xml.LoadXml(String xmlData)
   at ChilkatApi.XClass.LoadClass(String className, Log log)
   at ChilkatApi.ApiCache.getApiClass(String className, Log log)
   at ChilkatApi.ApiCache.getApiMethod(String className, String methodName, Log log)
   at ChilkatCode.CodeGen.getXEntry(String className, String entryName)
   at ChilkatCode.CodeGen.getEntryType(String varName, String entryName)
   at ChilkatCode.Parser.objectAccess(String varName, Xml xml)
   at ChilkatCode.Parser.varAccess(Xml xml)
   at ChilkatCode.Parser.primaryExpression(Xml xml)
   at ChilkatCode.Parser.unaryExpression(Xml xml)
   at ChilkatCode.Parser.multiplicativeExpression(Xml xml)
   at ChilkatCode.Parser.additiveExpression(Xml xml)
   at ChilkatCode.Parser.relationalExpression(Xml xml)
   at ChilkatCode.Parser.equalityExpression(Xml xml)
   at ChilkatCode.Parser.andExpression(Xml xml)
   at ChilkatCode.Parser.expression(Xml xml)
   at ChilkatCode.Parser.assignment()
   at ChilkatCode.Parser.statement()
   at ChilkatCode.Parser.Chilkat()
   at ChilkatCode.Parser.Parse()
   at ChilkatCode.Compile.CompileForToolsIO(String srcCode, String langHashKey, StringBuilder sbHtmlOut)

Curl Command

curl -G -d "timestamp=%7B%7Btimestamp%7D%7D"
	-d "signature=%7B%7Bsignature%7D%7D"
	-H "Content-Type: application/json"
	-H "X-MBX-APIKEY: {{binance-api-key}}"
https://domain.com/eapi/v1/openOrders

Postman Collection Item JSON

{
  "name": "Query Current Open Option Orders (USER_DATA)",
  "request": {
    "method": "GET",
    "header": [
      {
        "key": "Content-Type",
        "type": "text",
        "value": "application/json"
      },
      {
        "key": "X-MBX-APIKEY",
        "type": "text",
        "value": "{{binance-api-key}}"
      }
    ],
    "url": {
      "raw": "{{url}}/eapi/v1/openOrders?timestamp={{timestamp}}&signature={{signature}}",
      "host": [
        "{{url}}"
      ],
      "path": [
        "eapi",
        "v1",
        "openOrders"
      ],
      "query": [
        {
          "key": "symbol",
          "value": "",
          "description": "return all orders if don't pass, Option trading pair, e.g BTC-200730-9000-C",
          "disabled": true
        },
        {
          "key": "orderId",
          "value": "",
          "description": "Returns the orderId and subsequent orders, the most recent order is returned by default",
          "disabled": true
        },
        {
          "key": "startTime",
          "value": "",
          "description": "Start Time",
          "disabled": true
        },
        {
          "key": "endTime",
          "value": "",
          "description": "End Time",
          "disabled": true
        },
        {
          "key": "limit",
          "value": "",
          "description": "Number of result sets returned Default:100 Max:1000",
          "disabled": true
        },
        {
          "key": "recvWindow",
          "value": "5000",
          "description": "The value cannot be greater than 60000",
          "disabled": true
        },
        {
          "key": "timestamp",
          "value": "{{timestamp}}"
        },
        {
          "key": "signature",
          "value": "{{signature}}"
        }
      ]
    },
    "description": "Query current all open orders, status: ACCEPTED PARTIALLY_FILLED"
  },
  "response": [
  ]
}