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): https://www.ssrn.com/abstract=3892335

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.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: bidask-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 d206cb237798f45968080e36be384fe6bc1bb2b0cfcef067ecd9a930179a4c7e
MD5 cf054f6755e2c513020ecb1bdf926aac
BLAKE2b-256 039c105d9a07cb2c676ba9f452a0fa271b39d5746a2c5f90e21d2a341ceb89cb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bidask-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1c1a1ac85ed0f71f63cde7c83ab1e9b9c50ee47b20e8d3d1127907bbaa594904
MD5 b3288cbb21ce012f62bfa6548998c3e4
BLAKE2b-256 5cfcce92fedc7ad8af771863da62dc652ee77035d2bf7e86fdc1282dbbce4e59

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