Skip to Main Content
Mastering Delphi Programming: A Complete Reference Guide
book

Mastering Delphi Programming: A Complete Reference Guide

by Primož Gabrijelčič
November 2019
Beginner to intermediate content levelBeginner to intermediate
674 pages
15h
English
Packt Publishing
Content preview from Mastering Delphi Programming: A Complete Reference Guide

Stock quote connection pool

As a short example, I've created an application that reads data about stock symbols (AAPL (Apple), IBM, and MSFT (Microsoft)) and returns some basic information about the symbol, such as the latest stock value. This information is retrieved from a public server provided by the company IEX (https://iextrading.com/developer/docs/#attribution).

The demonstration program, ObjectPoolPattern allows you to enter the name of a stock symbol and then query the server for this symbol's data by clicking the Get data button. This will generate a request in the  https://api.iextrading.com/1.0/stock/SYMB/quote form, where SYMB will be replaced with the actual symbol (for example, MSFT).

As connecting to a https server is a relatively ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Delphi GUI Programming with FireMonkey

Delphi GUI Programming with FireMonkey

Andrea Magni
Delphi Cookbook - Third Edition

Delphi Cookbook - Third Edition

Daniele Spinetti, Daniele Teti

Publisher Resources

ISBN: 9781838989118Other