Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Emanuele Guidotti committed Feb 14, 2025
1 parent 85f1fe4 commit 1626438
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions c++/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Efficient Estimation of Bid-Ask Spreads from Open, High, Low, and Close Prices

Implements an efficient estimator of bid-ask spreads from open, high, low, and close prices.
Implements the efficient estimator of bid-ask spreads from open, high, low, and close prices described in Ardia, Guidotti, & Kroencke (JFE, 2024): [https://doi.org/10.1016/j.jfineco.2024.103916](https://doi.org/10.1016/j.jfineco.2024.103916)

## Installation

Expand All @@ -14,13 +14,13 @@ Arguments:
edge(open, high, low, close, sign=false)
```
| field | description |
| ------- | ------------------------------------------- |
| `open` | std::vector\<double\> of open prices |
| `high` | std::vector\<double\> of high prices |
| `low` | std::vector\<double\> of low prices |
| `close` | std::vector\<double\> of close prices |
| `sign` | Whether signed estimates should be returned |
| field | description |
| ------- | -------------------------------------------- |
| `open` | std::vector\<double\> of open prices. |
| `high` | std::vector\<double\> of high prices. |
| `low` | std::vector\<double\> of low prices. |
| `close` | std::vector\<double\> of close prices. |
| `sign` | Whether signed estimates should be returned. |
The input prices must be sorted in ascending order of the timestamp.
Expand Down

0 comments on commit 1626438

Please sign in to comment.