Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GH-122] Update calculation of middle #129

Merged
merged 1 commit into from
Nov 17, 2022
Merged

[GH-122] Update calculation of middle #129

merged 1 commit into from
Nov 17, 2022

Conversation

jealous
Copy link
Owner

@jealous jealous commented Nov 17, 2022

The typical price or middle price is calculated by:

(high + low + close) / 3

But it would be accurate if the data source has the amount that represents the total amount of capital traded in that period. Use middle = amount / volume when amout is available.

Also fix some typos in the read me file.
Add some utilities for dropping columns, head or tail.

Add python 3.11 in CI and drop 3.9.

The typical price or middle price is calculated by:
```
(high + low + close) / 3
```

But it would be accurate if the data source has the `amount` that
represents the total amount of capital traded in that period.
Use `middle = amount / volume` when amout is available.

Also fix some typos in the read me file.
Add some utilities for dropping columns, head or tail.

Add python 3.11 in CI and drop 3.9.
@jealous jealous self-assigned this Nov 17, 2022
@jealous jealous merged commit f4e841b into master Nov 17, 2022
@jealous jealous deleted the feature/amount branch November 17, 2022 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant