All Projects → kokspflanze → alpha-vantage-api

kokspflanze / alpha-vantage-api

Licence: MIT license
Alpha Vantage PHP Client

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to alpha-vantage-api

Sina Stock Crawler
Sina stock options crawler with CSV output 新浪上证ETF期权数据爬虫
Stars: ✭ 12 (-78.95%)
Mutual labels:  stock, stock-market
Alpha Mind
quantitative security portfolio analysis. The analysis pipeline including data storage abstraction, alpha calculation, ML based alpha combining and portfolio calculation.
Stars: ✭ 171 (+200%)
Mutual labels:  stock, stock-market
Fooltrader
quant framework for stock
Stars: ✭ 960 (+1584.21%)
Mutual labels:  stock, stock-market
Deepstock
Technical experimentations to beat the stock market using deep learning 📈
Stars: ✭ 422 (+640.35%)
Mutual labels:  stock, stock-market
Pyetrade
Python E-Trade API Wrapper
Stars: ✭ 120 (+110.53%)
Mutual labels:  api-client, stock
Algotrader
Simple algorithmic stock and option trading for Node.js.
Stars: ✭ 468 (+721.05%)
Mutual labels:  stock, stock-market
Bovespastockratings
Crawler for Fundamental analysis platform for BOVESPA stocks, generating a score for each share according to the selected criteria on the indicators.
Stars: ✭ 154 (+170.18%)
Mutual labels:  stock, stock-market
trading sim
📈📆 Backtest trading strategies concurrently using historical chart data from various financial exchanges.
Stars: ✭ 21 (-63.16%)
Mutual labels:  stock, stock-market
insomnia-workspace
An Insomnia Workspace for Alpaca API
Stars: ✭ 34 (-40.35%)
Mutual labels:  api-client, stock-market
Finance Python
python tools for Finance with the functionality of indicator calculation, business day calculation and so on.
Stars: ✭ 238 (+317.54%)
Mutual labels:  stock, stock-market
Techan
Technical Analysis Library for Golang
Stars: ✭ 404 (+608.77%)
Mutual labels:  stock, stock-market
AlphaVantageRB
A Gem for AlphaVantage
Stars: ✭ 68 (+19.3%)
Mutual labels:  stock, alpha-vantage
Alpha vantage
A python wrapper for Alpha Vantage API for financial data.
Stars: ✭ 3,553 (+6133.33%)
Mutual labels:  stock, alpha-vantage
Ystockquote
Fetch stock quote data from Yahoo Finance
Stars: ✭ 502 (+780.7%)
Mutual labels:  stock, stock-market
AIPortfolio
Use AI to generate a optimized stock portfolio
Stars: ✭ 28 (-50.88%)
Mutual labels:  stock, stock-market
Zvt
modular quant framework.
Stars: ✭ 1,801 (+3059.65%)
Mutual labels:  stock, stock-market
streamdeck-stockticker
Stock Ticker plugin for Stream Deck
Stars: ✭ 29 (-49.12%)
Mutual labels:  stock, stock-market
sse-option-crawler
SSE 50 index options crawler 上证50期权数据爬虫
Stars: ✭ 17 (-70.18%)
Mutual labels:  stock, stock-market
Deep Rl Trading
playing idealized trading games with deep reinforcement learning
Stars: ✭ 228 (+300%)
Mutual labels:  stock, stock-market
Chase
Automatic trading bot (WIP)
Stars: ✭ 73 (+28.07%)
Mutual labels:  stock, stock-market

Alpha Vantage PHP Client

Build Status

The PHP-Client is a lightweight wrapper for the Alpha Vantage.

Requirements:

Install

php composer.phar require kokspflanze/alpha-vantage-api

How to use it?

<?php

// Option
$option = new AlphaVantage\Options();
$option->setApiKey('YOUR_KEY');

// Client
$client = new AlphaVantage\Client($option);
var_dump($client->foreignExchange()->currencyExchangeRate('BTC', 'CNY'));

Factory for PSR-11 Container

You can also use it with containers, using the PSR-11 standard for easy integration in a project.

You need require the suggest psr/container package:

php composer.phar require psr/container

Register the Alpha Vantage Factory:

return [
    'dependencies' => [
        'factories' => [
            'alphavantage' => \AlphaVantage\Factory\AlphaVantageFactory::class,
        ],
    ],
];

with the following configuration:

return [
    'alpha_vantage' => [
        'api_key' => 'APIKEY',
    ]
];
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].