dprmc / interactive-data-remote-plus
A PHP package that interfaces with the Remote Plus pricing HTTP API by Interactive Data.
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/dprmc/interactive-data-remote-plus
Requires
- dprmc/cusip: ^1.0
- guzzlehttp/guzzle: ^6.3
- league/climate: ^3.4
Requires (Dev)
- php-coveralls/php-coveralls: ^2.1
- phpunit/phpunit: ^7.5
README
A php package that interfaces with the Remote Plus pricing HTTP API by Interactive Data.
Usage
use DPRMC\InteractiveData\ClientDailyPriceFixedIncome; $date = "2017-07-31"; $cusipsToQuery = [ '38259P508' ]; $client = new ClientDailyPriceFixedIncome('yourInteractiveDataUser', 'yourInteractiveDataPass', $date, $cusipsToQuery); $response = $client->run(); foreach ($response as $cusip => $price): echo "CUSIP $cusip had a price of $price on $date"; endforeach;