Description Usage Arguments Value
Provided with futures contract front price and term structure aggregated position data from Bloomberg retrieved with pullit, constructs market participant pressure factors.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | pressure_factor(
  price_data,
  position_data,
  format = "disaggregated",
  underlying = "futures only",
  unit = "contracts",
  participant = "producer/merchant/processor/user",
  update_frequency = "month",
  return_frequency = "day",
  ranking_period = 6L,
  long_threshold = 0.5,
  short_threshold = 0.5,
  sort_levels = T,
  weighted = F
)
## S4 method for signature 'FuturesTS,FuturesCFTC'
pressure_factor(
  price_data,
  position_data,
  format = "disaggregated",
  underlying = "futures only",
  unit = "contracts",
  participant = "producer/merchant/processor/user",
  update_frequency = "month",
  return_frequency = "day",
  ranking_period = 6L,
  long_threshold = 0.5,
  short_threshold = 0.5,
  sort_levels = T,
  weighted = F
)
 | 
| price_data | an S4 object of class  | 
| position_data | an S4 object of class  | 
| format | a scalar  | 
| underlying | a scalar  | 
| unit | a scalar  | 
| participant | a scalar  | 
| update_frequency | a scalar  | 
| return_frequency | a scalar  | 
| ranking_period | a scalar  | 
| long_threshold | a scalar  | 
| short_threshold | a scalar  | 
| sort_levels | a scalar  | 
| weighted | a scalar  | 
An S4 object of class PressureFactor.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.