PHP code example of asciisd / autochartist-laravel
1. Go to this page and download the library: Download asciisd/autochartist-laravel 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/ */
asciisd / autochartist-laravel example snippets
use Asciisd\AutochartistLaravel\Facades\Autochartist;
$setups = Autochartist::technicalAnalysis()->technicalTradeSetups();
return response()->json($setups);
use Asciisd\AutochartistLaravel\Facades\Autochartist;
$setups = Autochartist::technicalAnalysis()->technicalTradeSetups([
'group' => 'Currencies',
]);
use Asciisd\AutochartistLaravel\Services\AutochartistManager;
$setups = app(AutochartistManager::class)
->technicalAnalysis()
->technicalTradeSetups();
use Asciisd\AutochartistLaravel\Facades\Autochartist;
use Illuminate\Support\Facades\Route;
Route::middleware('auth')->get('/trade-setups', function () {
return Autochartist::technicalAnalysis()->technicalTradeSetups();
});