SELECT * FROM pricequote.single_price_call( 'FARM0001', 'KEYB0001', 'HZP3E100E21D050', 'v1:L..BDL..', 50000 ) f SELECT * FROM pricequote.target_prices tp WHERE tp.stlc = 'HZP3E100' AND ds = 'v1:T..PLT..' and chan = 'DRP' and tier = '1' and vol @> 1;