PHP code example of thecaliskan / laravel-stock
1. Go to this page and download the library: Download thecaliskan/laravel-stock library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
thecaliskan / laravel-stock example snippets
use TheCaliskan\Stock\Facades\Stock;
Stock::stock()
Stock::stock('TEAM')
Stock::stock('TEAM', now()->addWeek(-1))
Stock::forex()
Stock::forex('C:USDTRY')
Stock::forex('C:USDTRY')
Stock::crypto()
Stock::crypto('X:BTCUSD')
Stock::crypto('X:BTCUSD', now()->addWeek(-1))