> This page is for Web API.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://ibkrcampus.com/docs/llms.txt.

# Account Performance (All Time Periods)

POST https://localhost:5000/v1/api/pa/allperiods
Content-Type: application/json

Returns the performance (MTM) for the given accounts, if more than one account is passed, the result is consolidated.

Reference: https://ibkrcampus.com/docs/web-api/api-reference/trading/trading-portfolio-analyst/get-performance-all-periods

## Authentication

- `Authorization` header (bearer token, required) — SSO bearer token.

## Servers

- `https://localhost:5000` (Client Portal Gateway, default)
- `https://api.ibkr.com` (Production)
- `https://qa.interactivebrokers.com` (Sandbox)

## Request

### Query parameters

- `param` (string, optional)

### Body (application/json)

This endpoint expects an object.

- `acctIds` (list of string, optional) — An array of strings containing each account identifier to retrieve performance details for.

## Response

### 200

An array of objects detailing contract information.

- `currencyType` (string, optional) — Confirms if the currency type. If trading exclusively in your base currency, "base" will be returned.
- `rc` (long, optional) — Returns the data identifier (Internal Use Only).
- `view` (list of string, optional) — Returns the accountIds being viewed and returned.
- `nd` (long, optional) — Returns the total data points.
- `id` (string, optional) — Returns the request identifier, getPerformanceAllPeriods.
- `included` (list of string, optional) — Returns an array containing accounts reviewed.
- `pm` (string, optional) — Portfolio Measure. Used to indicate TWR or MWR values returned.

## Errors

### 400 Bad Request Error

Missing, empty, non-numeric, or out-of-range parameter. The `error` field is always prefixed with `Bad Request:`.

- `status` (long, optional)
- `error` (string, optional)
- `message` (string, optional)

### 401 Unauthorized Error

Missing, invalid, or unparseable Authorization token.

- `status` (long, optional)
- `error` (string, optional)
- `message` (string, optional)

### 500 Internal Server Error

internal server error, returned when incoming request cannot be processed. It can sometimes include subset of bad requests. For example, wrong accountId passed and it can only be detected later in handling request. Error contains reason of the problem.

- `error` (string, optional) — error reason

### 503 Service Unavailable Error

service is unavailable. For example if request takes more than 10s due to some internal service unavailability, request aborted and this status returned

- `error` (string, optional) — error reason
- `statusCode` (long, optional) — mimic response status code

## Examples

**Request**

```json
{}
```

**Response**

```json
{
  "currencyType": "base",
  "rc": 0,
  "view": [
    "DU123456"
  ],
  "nd": 368,
  "id": "getPerformanceAllPeriods",
  "included": [
    "DU123456"
  ],
  "pm": "TWR",
  "DU123456": {
    "1D": {
      "cps": [
        0.0072
      ],
      "dates": [
        "20240426"
      ],
      "freq": "D",
      "nav": [
        1390987.0689
      ],
      "startNAV": {
        "date": "20240425",
        "val": 1381022.2557
      }
    },
    "1M": {
      "cps": [
        0.0004,
        0.0152,
        0.0144,
        0.0145,
        0.0082,
        0.0032,
        0.0092,
        -0.0036,
        0.01,
        0.0115,
        0.0149,
        -0.0081,
        -0.0054,
        -0.0266,
        -0.0429,
        -0.0534,
        -0.053,
        -0.0522,
        -0.0561,
        -0.044,
        -0.0226,
        -0.0225,
        -0.0607,
        -0.0539
      ],
      "dates": [
        "20240326",
        "20240327",
        "20240328",
        "20240329",
        "20240401",
        "20240402",
        "20240403",
        "20240404",
        "20240405",
        "20240408",
        "20240409",
        "20240410",
        "20240411",
        "20240412",
        "20240415",
        "20240416",
        "20240417",
        "20240418",
        "20240419",
        "20240422",
        "20240423",
        "20240424",
        "20240425",
        "20240426"
      ],
      "freq": "D",
      "nav": [
        1470819.2095,
        1492582.8971,
        1491455.1209,
        1491508.085,
        1482332.7129,
        1474991.5595,
        1483721.5119,
        1464972.9299,
        1484912.3583,
        1487204.0587,
        1492210.8925,
        1458260.3853,
        1462342.5595,
        1431112.3911,
        1407166.8369,
        1391683.8539,
        1392370.552,
        1393526.1221,
        1387801.1381,
        1405559.8818,
        1436989.688,
        1437102.1473,
        1381022.2557,
        1390987.0689
      ],
      "startNAV": {
        "date": "20240325",
        "val": 1470235.8767
      }
    },
    "1Y": {
      "cps": [
        0.0009,
        0.0349,
        0.046,
        0.0442,
        0.0324,
        0.0237,
        0.0146,
        0.0561,
        0.0569,
        0.0468,
        0.0586,
        0.0598,
        0.0526,
        0.0551,
        0.0526,
        0.0724,
        0.0981,
        0.0951,
        0.0933,
        0.0563,
        0.0377,
        0.0704,
        0.1152,
        0.1152,
        0.1224,
        0.1074,
        0.1404,
        0.1793,
        0.1715,
        0.1756,
        0.1558,
        0.1815,
        0.1875,
        0.2233,
        0.24,
        0.2462,
        0.2847,
        0.282,
        0.282,
        0.2792,
        0.2644,
        0.2832,
        0.2694,
        0.2529,
        0.2814,
        0.285,
        0.2899,
        0.3213,
        0.3198,
        0.3197,
        0.3151,
        0.3051,
        0.2969,
        0.2924,
        0.3004,
        0.3179,
        0.3353,
        0.3347,
        0.3504,
        0.3601,
        0.3638,
        0.3433,
        0.3387,
        0.3465,
        0.3552,
        0.3582,
        0.3492,
        0.3752,
        0.376,
        0.3688,
        0.3319,
        0.324,
        0.2876,
        0.2944,
        0.2861,
        0.2638,
        0.2673,
        0.2624,
        0.2787,
        0.2537,
        0.2349,
        0.2112,
        0.2108,
        0.233,
        0.231,
        0.2631,
        0.2245,
        0.2421,
        0.2586,
        0.2961,
        0.3102,
        0.311,
        0.3161,
        0.3162,
        0.3109,
        0.279,
        0.2548,
        0.2613,
        0.2841,
        0.2658,
        0.2642,
        0.2857,
        0.2553,
        0.2631,
        0.2638,
        0.2495,
        0.2284,
        0.2214,
        0.2232,
        0.2043,
        0.2068,
        0.2139,
        0.2067,
        0.2027,
        0.1825,
        0.1919,
        0.1945,
        0.2078,
        0.2149,
        0.2288,
        0.2366,
        0.226,
        0.2126,
        0.2257,
        0.2355,
        0.2189,
        0.1973,
        0.1784,
        0.1701,
        0.1754,
        0.1609,
        0.1655,
        0.1549,
        0.1714,
        0.1842,
        0.196,
        0.2237,
        0.2413,
        0.2445,
        0.2453,
        0.2415,
        0.2315,
        0.2514,
        0.2494,
        0.2836,
        0.2914,
        0.2925,
        0.2981,
        0.3075,
        0.3008,
        0.3066,
        0.3067,
        0.3077,
        0.304,
        0.3045,
        0.3115,
        0.3171,
        0.3307,
        0.3247,
        0.3217,
        0.317,
        0.3272,
        0.3383,
        0.3395,
        0.3456,
        0.3659,
        0.3864,
        0.3785,
        0.3875,
        0.3931,
        0.3757,
        0.3873,
        0.3933,
        0.3932,
        0.4033,
        0.4058,
        0.4071,
        0.4015,
        0.4015,
        0.3949,
        0.3841,
        0.387,
        0.3939,
        0.4055,
        0.3967,
        0.4063,
        0.403,
        0.4074,
        0.4069,
        0.3958,
        0.3884,
        0.397,
        0.4206,
        0.4271,
        0.4342,
        0.4405,
        0.4749,
        0.4698,
        0.4788,
        0.4896,
        0.4565,
        0.4689,
        0.504,
        0.486,
        0.4874,
        0.5036,
        0.5023,
        0.5135,
        0.5178,
        0.4829,
        0.5025,
        0.5315,
        0.5216,
        0.5214,
        0.5079,
        0.4988,
        0.5345,
        0.5396,
        0.5297,
        0.5421,
        0.5394,
        0.5478,
        0.5693,
        0.5815,
        0.5686,
        0.5848,
        0.6061,
        0.597,
        0.5835,
        0.6113,
        0.6056,
        0.5893,
        0.5695,
        0.5895,
        0.5989,
        0.6213,
        0.6301,
        0.6191,
        0.6062,
        0.6068,
        0.6306,
        0.6294,
        0.6294,
        0.6194,
        0.6114,
        0.6209,
        0.6005,
        0.6222,
        0.6247,
        0.6302,
        0.5931,
        0.5976,
        0.5635,
        0.5373,
        0.5204,
        0.5211,
        0.5224,
        0.5162,
        0.5356,
        0.5699,
        0.57,
        0.5087,
        0.5196
      ],
      "dates": [
        "20230426",
        "20230427",
        "20230428",
        "20230501",
        "20230502",
        "20230503",
        "20230504",
        "20230505",
        "20230508",
        "20230509",
        "20230510",
        "20230511",
        "20230512",
        "20230515",
        "20230516",
        "20230517",
        "20230518",
        "20230519",
        "20230522",
        "20230523",
        "20230524",
        "20230525",
        "20230526",
        "20230529",
        "20230530",
        "20230531",
        "20230601",
        "20230602",
        "20230605",
        "20230606",
        "20230607",
        "20230608",
        "20230609",
        "20230612",
        "20230613",
        "20230614",
        "20230615",
        "20230616",
        "20230619",
        "20230620",
        "20230621",
        "20230622",
        "20230623",
        "20230626",
        "20230627",
        "20230628",
        "20230629",
        "20230630",
        "20230703",
        "20230704",
        "20230705",
        "20230706",
        "20230707",
        "20230710",
        "20230711",
        "20230712",
        "20230713",
        "20230714",
        "20230717",
        "20230718",
        "20230719",
        "20230720",
        "20230721",
        "20230724",
        "20230725",
        "20230726",
        "20230727",
        "20230728",
        "20230731",
        "20230801",
        "20230802",
        "20230803",
        "20230804",
        "20230807",
        "20230808",
        "20230809",
        "20230810",
        "20230811",
        "20230814",
        "20230815",
        "20230816",
        "20230817",
        "20230818",
        "20230821",
        "20230822",
        "20230823",
        "20230824",
        "20230825",
        "20230828",
        "20230829",
        "20230830",
        "20230831",
        "20230901",
        "20230904",
        "20230905",
        "20230906",
        "20230907",
        "20230908",
        "20230911",
        "20230912",
        "20230913",
        "20230914",
        "20230915",
        "20230918",
        "20230919",
        "20230920",
        "20230921",
        "20230922",
        "20230925",
        "20230926",
        "20230927",
        "20230928",
        "20230929",
        "20231002",
        "20231003",
        "20231004",
        "20231005",
        "20231006",
        "20231009",
        "20231010",
        "20231011",
        "20231012",
        "20231013",
        "20231016",
        "20231017",
        "20231018",
        "20231019",
        "20231020",
        "20231023",
        "20231024",
        "20231025",
        "20231026",
        "20231027",
        "20231030",
        "20231031",
        "20231101",
        "20231102",
        "20231103",
        "20231106",
        "20231107",
        "20231108",
        "20231109",
        "20231110",
        "20231113",
        "20231114",
        "20231115",
        "20231116",
        "20231117",
        "20231120",
        "20231121",
        "20231122",
        "20231123",
        "20231124",
        "20231127",
        "20231128",
        "20231129",
        "20231130",
        "20231201",
        "20231204",
        "20231205",
        "20231206",
        "20231207",
        "20231208",
        "20231211",
        "20231212",
        "20231213",
        "20231214",
        "20231215",
        "20231218",
        "20231219",
        "20231220",
        "20231221",
        "20231222",
        "20231225",
        "20231226",
        "20231227",
        "20231228",
        "20231229",
        "20240101",
        "20240102",
        "20240103",
        "20240104",
        "20240105",
        "20240108",
        "20240109",
        "20240110",
        "20240111",
        "20240112",
        "20240115",
        "20240116",
        "20240117",
        "20240118",
        "20240119",
        "20240122",
        "20240123",
        "20240124",
        "20240125",
        "20240126",
        "20240129",
        "20240130",
        "20240131",
        "20240201",
        "20240202",
        "20240205",
        "20240206",
        "20240207",
        "20240208",
        "20240209",
        "20240212",
        "20240213",
        "20240214",
        "20240215",
        "20240216",
        "20240219",
        "20240220",
        "20240221",
        "20240222",
        "20240223",
        "20240226",
        "20240227",
        "20240228",
        "20240229",
        "20240301",
        "20240304",
        "20240305",
        "20240306",
        "20240307",
        "20240308",
        "20240311",
        "20240312",
        "20240313",
        "20240314",
        "20240315",
        "20240318",
        "20240319",
        "20240320",
        "20240321",
        "20240322",
        "20240325",
        "20240326",
        "20240327",
        "20240328",
        "20240329",
        "20240401",
        "20240402",
        "20240403",
        "20240404",
        "20240405",
        "20240408",
        "20240409",
        "20240410",
        "20240411",
        "20240412",
        "20240415",
        "20240416",
        "20240417",
        "20240418",
        "20240419",
        "20240422",
        "20240423",
        "20240424",
        "20240425",
        "20240426"
      ],
      "freq": "D",
      "nav": [
        916213.1573,
        947269.6089,
        957495.9273,
        955827.7745,
        945030.5846,
        937034.669,
        928754.0554,
        966711.5611,
        967389.5776,
        958171.7378,
        968999.679,
        970048.1735,
        963499.6734,
        965791.2424,
        963532.7739,
        981634.443,
        1005143.7157,
        1002358.3303,
        1000701.6307,
        966850.2441,
        949826.3976,
        979748.679,
        1020801.2545,
        1020810.7858,
        1027351.0593,
        1013631.0401,
        1043841.252,
        1079472.9361,
        1072348.7909,
        1076122.1442,
        1057999.0553,
        1081493.9119,
        1086998.9023,
        1119712.8525,
        1135057.1863,
        1140719.4231,
        1175913.8798,
        1173456.2771,
        1173458.3751,
        1170939.8329,
        1157357.8554,
        1174615.5054,
        1161957.1168,
        1146875.9304,
        1172947.5129,
        1176243.4819,
        1180671.7579,
        1209491.0023,
        1208051.9185,
        1208018.29,
        1203813.7206,
        1194572.2962,
        1187083.1646,
        1183015.751,
        1190356.9033,
        1206352.2287,
        1222304.6242,
        1221731.1008,
        1236119.3763,
        1244943.4148,
        1248331.8783,
        1229579.7033,
        1225350.3017,
        1232537.895,
        1240478.2895,
        1243215.1302,
        1234941.7912,
        1258764.1477,
        1259517.4519,
        1252954.6541,
        1219155.4535,
        1211872.7998,
        1178622.2902,
        1184791.4229,
        1177239.8994,
        1156844.7885,
        1160055.5323,
        1155551.647,
        1170445.4699,
        1147560.6035,
        1130397.7584,
        1108620.771,
        1108331.883,
        1128641.2025,
        1126759.2631,
        1156201.1981,
        1120833.8567,
        1136963.447,
        1152072.6413,
        1186372.6307,
        1199291.2264,
        1200058.9789,
        1204681.1211,
        1204749.0158,
        1199946.698,
        1170716.1714,
        1148620.0575,
        1154500.6274,
        1175364.1554,
        1158630.8893,
        1157174.688,
        1176862.6911,
        1149027.5087,
        1156210.7572,
        1156781.9906,
        1143748.405,
        1124417.1871,
        1118011.7568,
        1119608.026,
        1102337.1466,
        1104619.9248,
        1111157.2948,
        1104546.2216,
        1100860.507,
        1082379.2313,
        1090984.4347,
        1093382.3395,
        1105517.8442,
        1112047.3941,
        1124779.1628,
        1131944.9771,
        1122238.3452,
        1109917.279,
        1121941.1344,
        1130931.4126,
        1115692.7848,
        1095936.2795,
        1078620.0409,
        1071061.0639,
        1075861.9248,
        1062641.5816,
        1066812.1892,
        1057138.7199,
        1072201.8379,
        1083974.653,
        1094762.4493,
        1120068.6249,
        1136226.7833,
        1139142.0391,
        1139870.183,
        1136408.8642,
        1127229.6653,
        1145467.8808,
        1143660.0272,
        1174911.4923,
        1182041.9386,
        1183048.2116,
        1188240.3654,
        1196808.5753,
        1190714.2398,
        1195971.9157,
        1196067.5419,
        1196993.1964,
        1193621.4641,
        1194038.3211,
        1200440.7278,
        1205623.1522,
        1218027.8577,
        1212531.0881,
        1209843.2572,
        1205483.0953,
        1214837.3879,
        1224968.307,
        1226119.552,
        1231722.1001,
        1250246.4796,
        1269077.6522,
        1261806.0171,
        1270012.6578,
        1275175.518,
        1259197.468,
        1269869.5619,
        1275315.2064,
        1275303.0074,
        1284481.1929,
        1286754.053,
        1288020.332,
        1282850.7632,
        1282878.735,
        1276778.8381,
        1266973.7093,
        1269544.0876,
        1275904.7178,
        1286495.4108,
        1278482.2701,
        1287268.6865,
        1284200.338,
        1288214.2064,
        1287819.9539,
        1277639.6851,
        1270827.3223,
        1278725.5502,
        1300324.9852,
        1306323.4495,
        1312781.9571,
        1318531.0656,
        1350033.0327,
        1345384.5102,
        1353633.9766,
        1363482.1133,
        1333156.3611,
        1344519.4922,
        1376661.532,
        1360247.6463,
        1361492.1636,
        1376329.6731,
        1375083.087,
        1385410.1315,
        1389274.5528,
        1357400.3407,
        1375326.833,
        1401881.315,
        1392768.8561,
        1392637.734,
        1380291.0032,
        1371910.9717,
        1404606.7185,
        1409284.2989,
        1400208.3513,
        1411555.9833,
        1409076.0531,
        1416808.8027,
        1436450.7862,
        1447601.0431,
        1435855.0533,
        1450679.9318,
        1470146.1652,
        1461837.0628,
        1449412.6474,
        1474938.4628,
        1469694.3184,
        1454799.0419,
        1436627.4898,
        1454960.951,
        1463507.2659,
        1484057.3961,
        1492102.1686,
        1482038.2329,
        1470235.8767,
        1470819.2095,
        1492582.8971,
        1491455.1209,
        1491508.085,
        1482332.7129,
        1474991.5595,
        1483721.5119,
        1464972.9299,
        1484912.3583,
        1487204.0587,
        1492210.8925,
        1458260.3853,
        1462342.5595,
        1431112.3911,
        1407166.8369,
        1391683.8539,
        1392370.552,
        1393526.1221,
        1387801.1381,
        1405559.8818,
        1436989.688,
        1437102.1473,
        1381022.2557,
        1390987.0689
      ],
      "startNAV": {
        "date": "20230425",
        "val": 915345.2059
      }
    },
    "7D": {
      "cps": [
        0.0128,
        0.0354,
        0.0355,
        -0.0049,
        0.0023
      ],
      "dates": [
        "20240422",
        "20240423",
        "20240424",
        "20240425",
        "20240426"
      ],
      "freq": "D",
      "nav": [
        1405559.8818,
        1436989.688,
        1437102.1473,
        1381022.2557,
        1390987.0689
      ],
      "startNAV": {
        "date": "20240419",
        "val": 1387801.1381
      }
    },
    "MTD": {
      "cps": [
        -0.0062,
        -0.0111,
        -0.0052,
        -0.0178,
        -0.0044,
        -0.0029,
        0.0005,
        -0.0223,
        -0.0196,
        -0.0405,
        -0.0565,
        -0.0669,
        -0.0665,
        -0.0657,
        -0.0695,
        -0.0576,
        -0.0366,
        -0.0365,
        -0.0741,
        -0.0674
      ],
      "dates": [
        "20240401",
        "20240402",
        "20240403",
        "20240404",
        "20240405",
        "20240408",
        "20240409",
        "20240410",
        "20240411",
        "20240412",
        "20240415",
        "20240416",
        "20240417",
        "20240418",
        "20240419",
        "20240422",
        "20240423",
        "20240424",
        "20240425",
        "20240426"
      ],
      "freq": "D",
      "nav": [
        1482332.7129,
        1474991.5595,
        1483721.5119,
        1464972.9299,
        1484912.3583,
        1487204.0587,
        1492210.8925,
        1458260.3853,
        1462342.5595,
        1431112.3911,
        1407166.8369,
        1391683.8539,
        1392370.552,
        1393526.1221,
        1387801.1381,
        1405559.8818,
        1436989.688,
        1437102.1473,
        1381022.2557,
        1390987.0689
      ],
      "startNAV": {
        "date": "20240329",
        "val": 1491508.085
      }
    },
    "YTD": {
      "cps": [
        0,
        -0.0047,
        -0.0124,
        -0.0104,
        -0.0054,
        0.0028,
        -0.0034,
        0.0034,
        0.0011,
        0.0042,
        0.0039,
        -0.0041,
        -0.0094,
        -0.0032,
        0.0136,
        0.0183,
        0.0233,
        0.0278,
        0.0524,
        0.0487,
        0.0552,
        0.0629,
        0.0392,
        0.0481,
        0.0731,
        0.0603,
        0.0613,
        0.0729,
        0.0719,
        0.0799,
        0.083,
        0.0581,
        0.0721,
        0.0928,
        0.0857,
        0.0856,
        0.076,
        0.0694,
        0.0949,
        0.0986,
        0.0915,
        0.1003,
        0.0984,
        0.1044,
        0.1197,
        0.1284,
        0.1193,
        0.1308,
        0.146,
        0.1395,
        0.1298,
        0.1497,
        0.1456,
        0.134,
        0.1199,
        0.1342,
        0.1408,
        0.1568,
        0.1631,
        0.1553,
        0.1461,
        0.1465,
        0.1635,
        0.1626,
        0.1627,
        0.1555,
        0.1498,
        0.1566,
        0.142,
        0.1575,
        0.1593,
        0.1632,
        0.1367,
        0.1399,
        0.1156,
        0.0969,
        0.0848,
        0.0854,
        0.0863,
        0.0818,
        0.0957,
        0.1202,
        0.1202,
        0.0765,
        0.0843
      ],
      "dates": [
        "20240101",
        "20240102",
        "20240103",
        "20240104",
        "20240105",
        "20240108",
        "20240109",
        "20240110",
        "20240111",
        "20240112",
        "20240115",
        "20240116",
        "20240117",
        "20240118",
        "20240119",
        "20240122",
        "20240123",
        "20240124",
        "20240125",
        "20240126",
        "20240129",
        "20240130",
        "20240131",
        "20240201",
        "20240202",
        "20240205",
        "20240206",
        "20240207",
        "20240208",
        "20240209",
        "20240212",
        "20240213",
        "20240214",
        "20240215",
        "20240216",
        "20240219",
        "20240220",
        "20240221",
        "20240222",
        "20240223",
        "20240226",
        "20240227",
        "20240228",
        "20240229",
        "20240301",
        "20240304",
        "20240305",
        "20240306",
        "20240307",
        "20240308",
        "20240311",
        "20240312",
        "20240313",
        "20240314",
        "20240315",
        "20240318",
        "20240319",
        "20240320",
        "20240321",
        "20240322",
        "20240325",
        "20240326",
        "20240327",
        "20240328",
        "20240329",
        "20240401",
        "20240402",
        "20240403",
        "20240404",
        "20240405",
        "20240408",
        "20240409",
        "20240410",
        "20240411",
        "20240412",
        "20240415",
        "20240416",
        "20240417",
        "20240418",
        "20240419",
        "20240422",
        "20240423",
        "20240424",
        "20240425",
        "20240426"
      ],
      "freq": "D",
      "nav": [
        1282878.735,
        1276778.8381,
        1266973.7093,
        1269544.0876,
        1275904.7178,
        1286495.4108,
        1278482.2701,
        1287268.6865,
        1284200.338,
        1288214.2064,
        1287819.9539,
        1277639.6851,
        1270827.3223,
        1278725.5502,
        1300324.9852,
        1306323.4495,
        1312781.9571,
        1318531.0656,
        1350033.0327,
        1345384.5102,
        1353633.9766,
        1363482.1133,
        1333156.3611,
        1344519.4922,
        1376661.532,
        1360247.6463,
        1361492.1636,
        1376329.6731,
        1375083.087,
        1385410.1315,
        1389274.5528,
        1357400.3407,
        1375326.833,
        1401881.315,
        1392768.8561,
        1392637.734,
        1380291.0032,
        1371910.9717,
        1404606.7185,
        1409284.2989,
        1400208.3513,
        1411555.9833,
        1409076.0531,
        1416808.8027,
        1436450.7862,
        1447601.0431,
        1435855.0533,
        1450679.9318,
        1470146.1652,
        1461837.0628,
        1449412.6474,
        1474938.4628,
        1469694.3184,
        1454799.0419,
        1436627.4898,
        1454960.951,
        1463507.2659,
        1484057.3961,
        1492102.1686,
        1482038.2329,
        1470235.8767,
        1470819.2095,
        1492582.8971,
        1491455.1209,
        1491508.085,
        1482332.7129,
        1474991.5595,
        1483721.5119,
        1464972.9299,
        1484912.3583,
        1487204.0587,
        1492210.8925,
        1458260.3853,
        1462342.5595,
        1431112.3911,
        1407166.8369,
        1391683.8539,
        1392370.552,
        1393526.1221,
        1387801.1381,
        1405559.8818,
        1436989.688,
        1437102.1473,
        1381022.2557,
        1390987.0689
      ],
      "startNAV": {
        "date": "20231229",
        "val": 1282850.7632
      }
    },
    "baseCurrency": "USD",
    "end": "20240426",
    "lastSuccessfulUpdate": "2024-04-26 16:46:42",
    "periods": [
      "1D",
      "7D",
      "MTD",
      "1M",
      "YTD",
      "1Y"
    ],
    "start": "20230426"
  }
}
```

**SDK Code**

```python allperiods
import requests

url = "https://localhost:5000/v1/api/pa/allperiods"

payload = {}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript allperiods
const url = 'https://localhost:5000/v1/api/pa/allperiods';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go allperiods
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://localhost:5000/v1/api/pa/allperiods"

	payload := strings.NewReader("{}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby allperiods
require 'uri'
require 'net/http'

url = URI("https://localhost:5000/v1/api/pa/allperiods")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{}"

response = http.request(request)
puts response.read_body
```

```java allperiods
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://localhost:5000/v1/api/pa/allperiods")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{}")
  .asString();
```

```php allperiods
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://localhost:5000/v1/api/pa/allperiods', [
  'body' => '{}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp allperiods
using RestSharp;

var client = new RestClient("https://localhost:5000/v1/api/pa/allperiods");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift allperiods
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://localhost:5000/v1/api/pa/allperiods")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```