schwab_api 0.0.4

An unofficial rust library for Schwab API
Documentation
{
    "session": "NORMAL",
    "duration": "DAY",
    "orderType": "MARKET",
    "cancelTime": "2024-04-16T00:47:19.691Z",
    "complexOrderStrategyType": "NONE",
    "quantity": 0,
    "filledQuantity": 0,
    "remainingQuantity": 0,
    "requestedDestination": "INET",
    "destinationLinkName": "string",
    "releaseTime": "2024-04-16T00:47:19.691Z",
    "stopPrice": 0,
    "stopPriceLinkBasis": "MANUAL",
    "stopPriceLinkType": "VALUE",
    "stopPriceOffset": 0,
    "stopType": "STANDARD",
    "priceLinkBasis": "MANUAL",
    "priceLinkType": "VALUE",
    "price": 0,
    "taxLotMethod": "FIFO",
    "orderLegCollection": [
        {
            "orderLegType": "EQUITY",
            "legId": 0,
            "instrument": {
                "assetType": "EQUITY",
                "cusip": "string",
                "symbol": "string",
                "description": "string",
                "instrumentId": 0,
                "netChange": 0,
                "type": "SWEEP_VEHICLE"
            },
            "instruction": "BUY",
            "positionEffect": "OPENING",
            "quantity": 0,
            "quantityType": "ALL_SHARES",
            "divCapGains": "REINVEST",
            "toSymbol": "string"
        }
    ],
    "activationPrice": 0,
    "specialInstruction": "ALL_OR_NONE",
    "orderStrategyType": "SINGLE",
    "orderId": 0,
    "cancelable": false,
    "editable": false,
    "status": "AWAITING_PARENT_ORDER",
    "enteredTime": "2024-04-16T00:47:19.691Z",
    "closeTime": "2024-04-16T00:47:19.691Z",
    "tag": "string",
    "accountNumber": 0,
    "orderActivityCollection": [
        {
            "activityType": "EXECUTION",
            "executionType": "FILL",
            "quantity": 0,
            "orderRemainingQuantity": 0,
            "executionLegs": [
                {
                    "legId": 0,
                    "price": 0,
                    "quantity": 0,
                    "mismarkedQuantity": 0,
                    "instrumentId": 0,
                    "time": "2024-04-16T00:47:19.691Z"
                }
            ]
        }
    ],
    "replacingOrderCollection": [
        "string"
    ],
    "childOrderStrategies": [
        {
            "orderType": "LIMIT",
            "session": "NORMAL",
            "complexOrderStrategyType": "NONE",
            "quantity": 0,
            "filledQuantity": 0,
            "remainingQuantity": 0,
            "requestedDestination": "AUTO",
            "destinationLinkName": "AutoRoute",
            "price": 0,
            "duration": "DAY",
            "orderStrategyType": "SINGLE",
            "orderLegCollection": [
                {
                    "orderLegType": "EQUITY",
                    "legId": 1,
                    "positionEffect": "OPENING",
                    "instruction": "SELL",
                    "quantity": 0,
                    "instrument": {
                        "cusip": "string",
                        "symbol": "string",
                        "description": "string",
                        "instrumentId": 0,
                        "assetType": "EQUITY"
                    }
                }
            ],
            "orderId": 0,
            "cancelable": true,
            "editable": true,
            "status": "PENDING_ACTIVATION",
            "enteredTime": "2024-05-18T05:38:44+0000",
            "accountNumber": 0
        }
    ],
    "statusDescription": "string"
}