price_api/example_usage.pg.sql

13 lines
275 B
SQL

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;