|
|
Given I want to verify if the customer below can create a new order: { "cif": "TT10000002", "orderType": "STOPLIMIT", "fees": 5.0, "tradingBoard": "", "executedPrice": 10.0, "avgPrice": 10.0, "orderStatus": "NEW", "ltpPrice": 10.0, "orderChannel": "", "referenceId": "", "account": "CA-00005149", "estimatedNetAmt": 10.0, "earmarkflag": true, "expiryDate": "", "tradeTerm": "", "orderDatetime": 1709022351142, "stockName": "", "timeInForce": "DAY", "orderQty": 10.0, "id": 1, "origclordId": "", "limitPrice": 10.0, "accountType": "Cashupfront", "orderSide": "SELL", "stockCode": "F", "marketState": "", "exchangeId": "NYS", "transactionType": "", "orderLot": "ODD_LOT", "stopPrice": 10.0, "marketPhase": "", "clordId": "", "exchangeName": "", "currencyCode": "USD", "rewardCode": "", "walletCurrency": "HKD", "rtPtsFlag": true, "multiplier": "1.0" }
|
SUCCESS |
001ms |
|
|
|
SUCCESS |
027ms |
|
|
cashBoApi sends a GET request to GET /api/v1/bo/stock-account/getStockTradingLimit
Response
URL: https://cash-bo-api-sg.dev.rakutentrade.com/api/v1/bo/stock-account/getStockTradingLimit?&tan=CA-00005149&marketCode=NYS&stockCode=F
Status code: 401
Request Headers
Accept: application/json, text/plain, */* User-Agent: axios/1.6.8 Accept-Encoding: gzip, compress, deflate, br
Response Headers
date: Tue, 21 May 2024 03:53:06 GMT content-length: 0 connection: close www-authenticate: Bearer cache-control: no-cache, no-store, max-age=0, must-revalidate pragma: no-cache expires: 0 x-content-type-options: nosniff x-frame-options: DENY x-xss-protection: 0 referrer-policy: no-referrer
Response Body
|
SUCCESS |
017ms |
|
|
|
cashBoApi logs: the body of the last response
|
SUCCESS |
001ms |
|
|
cashBoApi takes note of Old_Stock
|
SUCCESS |
|
|