All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.studerw.tda.model.history.package-info Maven / Gradle / Ivy

There is a newer version: 2.4.3
Show newest version
package com.studerw.tda.model.history;

/**
 * Validation Rules for Price History
 *
 * 

* periodtype must be one of these values: day, month,year,ytd *

* *

* frequency type must be one of these values: minute, daily, weekly, monthly *

* *

* period - The valid values are dependent on the periodtype: *

* *
    *
  • If periodtype=day, then period can be 1, 2, 3, 4, 5 or 10
  • *
  • If periodtype=month, then period can be 1, 2, 3 or 6
  • *
  • If periodtype=year, then period can be 1, 2, 3, 5 10, 15, or 20
  • *
  • If periodtype=ytd, then period can only be 1
  • *
* *

* FrequencyType - The valid values are dependent on the periodtype. *

* *
    *
  • if periodtype=day, then frequency type can be only be minute.
  • *
  • if periodtype=month, then frequency type can be daily or weekly
  • *
  • if periodtype=year, then frequency type can be daily, weekly, or monthly
  • *
  • if periodtype=ytd, then frequency type can be daily or weekly
  • *
* *

* frequency - The valid values are dependent on the frequencytype. *

* *
    *
  • if frequencytype=minute, then frequency can be 1, 5, 10, 15, or 30
  • *
  • if frequencytype=daily, then frequency can only be 1
  • *
  • if frequencytype=weekly, then frequency can only be 1
  • *
  • if frequencytype=monthly, then frequency can only be 1
  • *
* *

* startdate and enddate - If specified, then period and periodtype * CANNOT be specified. enddate cannot be greater than startdate, obviously. *

*/




© 2015 - 2024 Weber Informatics LLC | Privacy Policy