API Documentation

NxST_EXPIRATIONCYCLE(21) - Option Expiration Cycles


#define Value Comments
Jan 1 January cycle
Feb 2 February cycle
Mar 3 March cycle
Wk1 4 Weeklies -- Week 1
Wk2 5 Weeklies -- Week 2
Wk3 6 Weeklies -- Week 3
Wk4 7 Weeklies -- Week 4
Wk5 8 Weeklies -- Week 5
Qtr 9 Quarterly

You may use code from a helper header file

You may use the code below in your own program



// example
switch (ixMap)
{
   case nxST_EXPIRATIONCYCLE::Jan: break;
   case nxST_EXPIRATIONCYCLE::Feb: break;
   case nxST_EXPIRATIONCYCLE::Mar: break;
   case nxST_EXPIRATIONCYCLE::Wk1: break;
   case nxST_EXPIRATIONCYCLE::Wk2: break;
   case nxST_EXPIRATIONCYCLE::Wk3: break;
   case nxST_EXPIRATIONCYCLE::Wk4: break;
   case nxST_EXPIRATIONCYCLE::Wk5: break;
   case nxST_EXPIRATIONCYCLE::Qtr: break;
}