Skip to main content

Efficient Estimation of Bid-Ask Spreads from Open, High, Low, and Close Prices

Project description

Efficient Estimation of Bid-Ask Spreads from Open, High, Low, and Close Prices

Implements an efficient estimation procedure of the bid-ask spread from Open, High, Low, and Close prices as proposed in Ardia, Guidotti, Kroencke (2021)

Installation

Install this package with:

pip install bidask

Usage

Import the estimator

from bidask import edge

Estimate the spread

edge(open, high, low, close)
  • open: array-like vector of Open prices.
  • high: array-like vector of High prices.
  • low: array-like vector of Low prices.
  • close: array-like vector of Close prices.

Prices must be sorted in ascending order of the timestamp.

Cite as

Ardia, David and Guidotti, Emanuele and Kroencke, Tim Alexander, "Efficient Estimation of Bid-Ask Spreads from Open, High, Low, and Close Prices". Available at SSRN: https://ssrn.com/abstract=3892335

A BibTex entry for LaTeX users is:

@unpublished{edge2021,
    author = {Ardia, David and Guidotti, Emanuele and Kroencke, Tim},
    title  = {Efficient Estimation of Bid-Ask Spreads from Open, High, Low, and Close Prices},
    year   = {2021},
    note   = {Available at SSRN}
    url    = {https://ssrn.com/abstract=3892335}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bidask-0.1.1.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

bidask-0.1.1-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file bidask-0.1.1.tar.gz.

File metadata

  • Download URL: bidask-0.1.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.2 Darwin/21.3.0

File hashes

Hashes for bidask-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ef95cae9a9394139ecfed9f364988f08aea0440bf424d3a7225698f3b7c761bd
MD5 6f31b8e3c55f416869f6b2805b222336
BLAKE2b-256 7e82dd61cab5514a7d54e80d6a1749f0ba25eef01fdf3543fe230978a4dcc97d

See more details on using hashes here.

File details

Details for the file bidask-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: bidask-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.2 Darwin/21.3.0

File hashes

Hashes for bidask-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 934797b7ddd1585e1837e7f73c2130054c8d96977f07b57336d3ea444a0683fb
MD5 223667bc18d6f955df0186d1edd5ff05
BLAKE2b-256 952eebc47b7d36d37993d84fcf2f0b69a01a5cd9677c728479967a18bb15f068

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page