schwab_api 0.0.4

An unofficial rust library for Schwab API
Documentation
[
    {
        "session": "NORMAL",
        "duration": "DAY",
        "orderType": "MARKET",
        "cancelTime": "2024-04-16T00:33:10.379Z",
        "complexOrderStrategyType": "NONE",
        "quantity": 0,
        "filledQuantity": 0,
        "remainingQuantity": 0,
        "requestedDestination": "INET",
        "destinationLinkName": "string",
        "releaseTime": "2024-04-16T00:33:10.379Z",
        "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:33:10.379Z",
        "closeTime": "2024-04-16T00:33:10.379Z",
        "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:33:10.379Z"
                    }
                ]
            }
        ],
        "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"
    },
    {
        "session": "NORMAL",
        "duration": "DAY",
        "orderType": "MARKET",
        "cancelTime": "2024-04-16T00:50:35.555Z",
        "complexOrderStrategyType": "NONE",
        "quantity": 0,
        "filledQuantity": 0,
        "remainingQuantity": 0,
        "requestedDestination": "INET",
        "destinationLinkName": "string",
        "releaseTime": "2024-04-16T00:50:35.555Z",
        "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:50:35.556Z",
        "closeTime": "2024-04-16T00:50:35.556Z",
        "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:50:35.556Z"
                    }
                ]
            }
        ],
        "replacingOrderCollection": [
            "string"
        ],
        "statusDescription": "string"
    }
]