REST API DOCS
Client APIBest Bid and Offer

Add Best Bid-Offer

POST
/backend/api/v1/bbo/reporting/

Creates a new Best Bid and Best Offer record. Required bid/offer fields depend on quote_condition:

  • c (automated Bid and Ask): bid AND offer fields required
  • b (manual on the bid): only bid fields required
  • a (manual on the offer): only offer fields required
  • h (manual on both): bid AND offer fields required

Notice:

  • you need to have permission to do this operation. Contact DORRS Admin

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/backend/api/v1/bbo/reporting/" \  -H "Content-Type: application/json" \  -d '{    "origin": "WSAX",    "symbol": "USDT",    "quote_condition": "b"  }'
{  "message": "success",  "data": [    {      "id": 5,      "symbol_name": "USDT",      "quote_condition": "b",      "bid_mpid": "MOID01",      "bid_quantity": "14.0000000000000000",      "bid_price": "88.0000000000000000",      "bid_date": "2023-11-01",      "bid_time": "11:18",      "offer_mpid": "",      "offer_quantity": null,      "offer_price": null,      "offer_date": null,      "offer_time": null,      "origin": "WSAX",      "uti": "110120231118-0000-A0005",      "company_profile": {        "id": 6,        "logo": "/media/company_profile_logo/logo.jpg",        "security_name": "USDT",        "company_name": "FIMR",        "business_description": "",        "street_address_1": "1",        "street_address_2": "",        "city": "",        "state": "",        "zip_code": "",        "country": "",        "phone": "",        "web_address": "",        "sic_industry_classification": "",        "incorporation_information": "",        "number_of_employees": null,        "company_officers_and_contacts": "",        "board_of_directors": "",        "product_and_services": "",        "company_facilities": "",        "transfer_agent": "",        "accounting_auditing_firm": "",        "investor_relations_marketing_communications": "",        "securities_counsel": "",        "us_reporting": "",        "edgar_cik": "",        "is_approved": true,        "status": "approved",        "created_at": "2023-10-04T14:22:24.248943Z",        "updated_at": "2023-11-03T18:25:33.539997Z",        "symbol": 1      },      "created_at": "2023-11-08T09:19:01.353940Z",      "updated_at": "2023-11-08T09:19:01.353942Z"    }  ],  "code": 200}