# ITradingCallbacks

_Contains the types for the GNSTradingCallbacks facet_

## TradingCallbacksStorage

```solidity
struct TradingCallbacksStorage {
  uint8 vaultClosingFeeP;
  uint248 __placeholder;
  mapping(uint8 => uint256) pendingGovFees;
  uint256[48] __gap;
}
```

## CancelReason

```solidity
enum CancelReason {
  NONE,
  PAUSED,
  MARKET_CLOSED,
  SLIPPAGE,
  TP_REACHED,
  SL_REACHED,
  EXPOSURE_LIMITS,
  PRICE_IMPACT,
  MAX_LEVERAGE,
  NO_TRADE,
  WRONG_TRADE,
  NOT_HIT,
  LIQ_REACHED
}
```

## AggregatorAnswer

```solidity
struct AggregatorAnswer {
  struct ITradingStorage.Id orderId;
  uint256 spreadP;
  uint64 price;
  uint64 open;
  uint64 high;
  uint64 low;
}
```

## Values

```solidity
struct Values {
  int256 profitP;
  uint256 executionPrice;
  uint256 liqPrice;
  uint256 amountSentToTrader;
  uint256 collateralPriceUsd;
  bool exactExecution;
  uint256 collateralLeftInStorage;
  uint256 oraclePrice;
  uint32 limitIndex;
  uint256 priceImpactP;
}
```
