editTradeUnits

Request Parameters

ParameterRequiredTypeDescription
clientIDyesstringTransactAPI Client ID
developerAPIKeyyesstringTransactAPI Developer Key
accountIdyesstringAccount ID generated by the API
tradeIdyesstringTrade ID generated by the API
unitPriceyesstringUnit Price for this trade
totalSharesyesstringNumber of shares

Sample Request

curl -k -X POST https://api-sandboxdash.norcapsecurities.com/tapiv3/index.php/v3/editTradeUnits
-d developerAPIKey=somedeveloperkey
-d clientID=someclientid
-d accountId=P12345
-d tradeId=2354
-d unitPrice=10.58
-d totalShares=10.58

Response Parameters

ParameterTypeDescription
statusCodestringAPI Status Code
statusDescstringAPI Status Description
TradeFinancialDetailsstringReturns the Trade details (tradeId, unitPrice, sharePrice, totalShares)

Sample Response

{
    "statusCode": "101",
    "statusDesc": "Ok",
    "TradeFinancialDetails": {
        "tradeId": "2354",
        "unitPrice": "10.58",
        "sharePrice": 280.50,
        "totalShares": "100.00",        
    }
}

Test it Yourself!

Language
Click Try It! to start a request and see the response here!