how to get the upper limite price for a symbol ?

please someone help me with the code needed to accomplish that. Thanks EG: if the price's upperlimit for a symbol is 500 and its lowerlimite is 300, I want a code that gets that upperlimite price from server and puts it in a variable. Thanks