Download the PHP package tmarois/polygon-php-sdk without Composer
On this page you can find all versions of the php package tmarois/polygon-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tmarois/polygon-php-sdk
More information about tmarois/polygon-php-sdk
Files in tmarois/polygon-php-sdk
Package polygon-php-sdk
Short Description PHP SDK for the Polygon Market API
License
Homepage https://github.com/tmarois/polygon-php-sdk
Informations about the package polygon-php-sdk
Polygon Market PHP SDK
This package acts as the PHP SDK for the Polygon RESTful API.
Installation
Use Composer to install package.
Run composer require tmarois/polygon-php-sdk:^1.0
Getting Started
First you need to instantiate the Polygon
object.
Example Usage
Stock Snapshot: Get the snapshot of a stock for the given day.
This includes the last trade, last quote, previous day and current day of data.
Stock Details: Get the details of the symbol company/entity.
Stock News: Get the details of the symbol company/entity.
Last Trade: Get the last trade for a given stock.
Last Quote: Get the last quote for a given stock.
Trade History: Get historic trades for a ticker.
Quote History: Get historic NBBO quotes for a ticker.
There are more in the Polygon Documentation than what is presented above, if you want to extend this, please send in a pull request or request features you'd like to see added. Thanks!
Contributions
Anyone can contribute to polygon-php-sdk. Please do so by posting issues when you've found something that is unexpected or sending a pull request for improvements.
License
polygon-php-sdk (This Repository) is open-sourced software licensed under the MIT license.
This SDK has no affiliation with Polygon.io, Inc and acts as an unofficial SDK designed to be a simple solution with using PHP applications. Use at your own risk. If you have any issues with the SDK please submit an issue or pull request.