Finnhub-API icon indicating copy to clipboard operation
Finnhub-API copied to clipboard

How do I query warrants (CCIV+) and units (CCIV=)?

Open PeterAmiga opened this issue 4 years ago • 1 comments

What is the issue ? Plz describe in details

I would like to query warrants and units for ticker CCIV. In below query to https://finnhub.io/api/v1/search?q=cciv&token= you can see ticker is CCIV+ for warrants and CCIV= for units. I am not able to search for quotes for any of them.

https://finnhub.io/api/v1/quote?symbol=CCIV+&token= is returning only zeros. The same with CCIV=.

I have tried to url encode the ticker: https://finnhub.io/api/v1/quote?symbol=CCIV%2B&token= but this approach also only returns zeros.

I am able to query the warrant by using https://finnhub.io/api/v1/quote?symbol=CCIV-WT&token= but this is not the official ticker and I am not able to find something similar for the unit.

So my question is how to query for warrants and units?

How to reproduce the error ?

Use https://finnhub.io/api/v1/quote?symbol=CCIV+&token= to try to query warrant.

What is the expected result and why do you think it's the correct result ?

I would expect the ressource to provide correct values for warrants and units

Best regards, Peter

Result of query https://finnhub.io/api/v1/search?q=cciv&token=

{"count":15,"result":[ {"description":"CHURCHILL CAPITAL CORP IV-A","displaySymbol":"CCIV","symbol":"CCIV","type":"Common Stock"}, {"description":"Churchill Capital Corp IV Warrants, each exercisable for one share of Class A common stock at an exercise price of $11.50 per share","displaySymbol":"CCIV+","primary":null,"symbol":"CCIV+","type":""}, {"description":"Churchill Capital Corp IV Units, each consisting of one share of Class A common stock and one-fifth of one redeemable warrant","displaySymbol":"CCIV=","primary":null,"symbol":"CCIV=","type":""}, {"description":"CORECIVIC INC","displaySymbol":"CXW","symbol":"CXW","type":"REIT"}, {"description":"ACCENTIS NV","displaySymbol":"ACCB.BR","symbol":"ACCB.BR","type":"Common Stock"}, {"description":"ACCENTIS NV","displaySymbol":"ACCB.L","symbol":"ACCB.L","type":"Common Stock"}, {"description":"CORECIVIC INC","displaySymbol":"PSRA.SG","symbol":"PSRA.SG","type":"REIT"}, {"description":"CORECIVIC INC","displaySymbol":"PSRA.MU","symbol":"PSRA.MU","type":"REIT"}, {"description":"CORECIVIC INC","displaySymbol":"PSRA.BE","symbol":"PSRA.BE","type":"REIT"}, {"description":"CORECIVIC INC","displaySymbol":"PSRA.SW","symbol":"PSRA.SW","type":"REIT"}, {"description":"CORECIVIC INC","displaySymbol":"PSRA.DU","symbol":"PSRA.DU","type":"REIT"}, {"description":"CORECIVIC INC","displaySymbol":"PSRA.F","symbol":"PSRA.F","type":"REIT"}, {"description":"CRC HOLDING BV","displaySymbol":"PRYME.OL","symbol":"PRYME.OL","type":"Common Stock"}, {"description":"CIBOX INTER@CTIVE","displaySymbol":"CIB.PA","symbol":"CIB.PA","type":"Common Stock"}, {"description":"INCITEC PIVOT LTD","displaySymbol":"IPL.AX","symbol":"IPL.AX","type":"Common Stock"}]}

PeterAmiga avatar Feb 13 '21 21:02 PeterAmiga

Hi, we updated the symbol list. You can try CCIV.WS or CCIV.U

finnhubio avatar Feb 26 '21 08:02 finnhubio