|
|
Given I want to verify if the customer below can create a new order: { "cif": "TT10000002", "orderType": "STOPMARKET", "fees": 5.01, "tradingBoard": "", "executedPrice": 10.01, "avgPrice": 10.01, "orderStatus": "NEW", "ltpPrice": 10.01, "orderChannel": "", "referenceId": "", "account": "CA-00005149", "estimatedNetAmt": 10.01, "earmarkflag": true, "expiryDate": "", "tradeTerm": "", "orderDatetime": 1709022351142, "stockName": "", "timeInForce": "DAY", "orderQty": 10.01, "id": 1, "origclordId": "", "limitPrice": 10.01, "accountType": "Cashupfront", "orderSide": "SELL", "stockCode": "1F3", "marketState": "", "exchangeId": "SES", "transactionType": "", "orderLot": "ODD_LOT", "stopPrice": 10.01, "marketPhase": "", "clordId": "", "exchangeName": "", "currencyCode": "SGD", "rewardCode": "", "walletCurrency": "SGD", "rtPtsFlag": true, "multiplier": "1.0" }
|
SUCCESS |
001ms |
|
|
|
SUCCESS |
041ms |
|
|
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=SES&stockCode=1F3
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: Thu, 09 May 2024 08:08:25 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 |
030ms |
|
|
|
cashBoApi logs: the body of the last response
|
SUCCESS |
|
|
|
cashBoApi takes note of Old_Stock
|
SUCCESS |
|
|