Unregister Quote

This function unregisters the quote for the specified contract. It takes two parameters: the contract and the callback function that will be called when the result is available. Updates for this quote will no longer be sent.

function unregister(contract, callback)

Possible Responses:

  • Success

{
    "RQT":"unregister",          // Request Type
    "RQI":"5",                   // Request Id
    "RES":"OK"                   // Result
}
  • Error

{
    "RQT":"unregister",         // Request Type
    "RQI":"5",                  // Request Id
    "RES":"ERR",                // Result
    "MSG":"Unknown contract"    // Error Message
}