PandaPy: A Wrapper Around Structured Arrays to Mimic ‘Structs’ in the C Language

2 Pages Posted: 8 Jun 2020

See all articles by Derek Snow

Derek Snow

The Alan Turing Institute

Date Written: May 13, 2020

Abstract

Similar to the original Pandas project, PandaPy is developed to improve the usability of python for finance. Structured data types are designed to be able to mimic ‘structs’ in the C language, and they share a similar memory layout. The biggest benefit of this approach is that NumPy directly maps onto a C structure definition, so the buffer containing the array content can be accessed directly within an appropriately written C program. This makes PandaPy a strong contender for high frequency trading on small-to-medium datasets. PandaPy currently houses more than 30 functions.

Keywords: Python, Pandas, Data Structure, Software, Finance, Economics, Latency, Memory, Structured, High Frequency Trading

JEL Classification: C65, C69, C87, C88

Suggested Citation

Snow, Derek, PandaPy: A Wrapper Around Structured Arrays to Mimic ‘Structs’ in the C Language (May 13, 2020). Available at SSRN: https://ssrn.com/abstract=3599639 or http://dx.doi.org/10.2139/ssrn.3599639

Derek Snow (Contact Author)

The Alan Turing Institute ( email )

British Library, 96 Euston Rd
London, NW1 2DB
United Kingdom

HOME PAGE: http://www.turing.ac.uk/

Do you have a job opening that you would like to promote on SSRN?

Paper statistics

Downloads
91
Abstract Views
596
rank
360,578
PlumX Metrics