The following operations are supported. For a formal definition, please review the Service Description.

Web Service Links

Namespace Children of ::wsdb::types::stock2::symbol

Namespace Code for ::wsdb::types::stock2::symbol

namespace eval ::wsdb::types::stock2::symbol {
    variable base xsd::string
    variable doc {NYSE Trading Symbol}
    variable validate ::wsdb::types::stock2::symbol::validate

}

Procedures in ::wsdb::types::stock2::symbol


proc ::wsdb::types::stock2::symbol::validate {
    value
} {
       variable base
       if {[::wsdb::types::${base}::validate "$value"] && [lsearch -exact {MSFT WMT XOM GM F GE} "$value"] > -1} {
           return 1
       } else {
           return 0
         }
}