Same as with Warehouse: When placing goods for sale in your Trading post, capacity is subtracted from the total available to your city. This will be reflected in the tool-tip shown when you hover on your resource totals. Any resources in your Trading post will not show up in the Warehouse or Dump screen and may take you over the "Safe" limit, so watch out. The resources "hidden" in the Trading post are susceptible of being pillaged.