rzr/markitondemand

Markit on Demand API 的 Zend Framework 2 模块

dev-master 2016-08-17 00:26 UTC

This package is not auto-updated.

Last update: 2024-09-14 19:58:40 UTC


README

  • 此模块提供了在 Zend Framework 2 中访问 Markit On Demand 市场数据 API 的 OOP 访问方式

特性

  • 符号查找
  • 符号报价数据

安装

使用方法

  • 在各种市场上找到一家公司的符号
    • 返回对象数组
    1. $client = new MarkitondemandClient();
    2. $results = $client->lookupCompany('twit');
  • 获取符号报价
    • 返回报价对象
    1. $company = new Company();
    2. $quote = $company->getQuote('TWTR');
  • 更新报价对象
    1. $quote = new Quote();
    2. $quote->updateQuote();

资源

待办事项列表

  • 为 zend 客户端使用提供单例行为
  • 更好的性能