text: Title: question for hootnot 2
  Body: #### CONTEXT
  1. imagine a situation where _multiple_ trades are open in the _same subaccount_,  _same instrument_, and _unit quantity_... Like this:
  
  ![image](https://user-images.githubusercontent.com/93844523/215911596-a906972f-a152-4fec-ba27-b790ad30fa23.png)
  
  2. attempting to close all but one of these open trades will result in order being cancelled for FIFO reasons.
  
  #### QUESTION
  Do you know any tricks to test which trade is "allowed" to be closed per US FIFO law? Or stated differently, given a list of trades, can we determine which ones are NOT eligible to be closed? 
  
  I understand I could query for the lowest trade_id among such a group, and that should, by definition, work. But I thought _maybe_ you might know a better way. 
  
  This is all the info I see when I query for a trade... nothing lends itself to "can be closed", or im just blind
  
  ```
  {
      "trade": {
          "id": "148",
          "instrument": "EUR_USD",
          "price": "1.09190",
          "openTime": "2023-01-26T01:48:04.744487039Z",
          "initialUnits": "-1",
          "initialMarginRequired": "0.0218",
          "state": "OPEN",
          "currentUnits": "-1",
          "realizedPL": "0.0000",
          "financing": "0.0001",
          "dividendAdjustment": "0.0000",
          "unrealizedPL": "0.0057",
          "marginUsed": "0.0217"
      },
      "lastTransactionID": "266"
  }
  ```
  
  
  
  