-
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
AMv
committed
Sep 17, 2020
1 parent
bc2d35d
commit 6e59d50
Showing
79 changed files
with
12,170 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
root = true | ||
|
||
[*.rs] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
charset = utf-8 | ||
indent_style = tab | ||
tab_width = 4 | ||
trim_trailing_whitespace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/target | ||
/Cargo.lock | ||
/.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[package] | ||
authors = ["AMvDev <[email protected]>"] | ||
description = "Yet another Technical Analysis library. For rust now." | ||
edition = "2018" | ||
name = "yata" | ||
version = "0.1.1" | ||
|
||
[dependencies] | ||
serde = {version = "*", features = ["derive"], optional = true} | ||
|
||
[profile.release] | ||
codegen-units = 1 | ||
debug = false | ||
debug-assertions = false | ||
incremental = true | ||
lto = true | ||
opt-level = 3 | ||
overflow-checks = false | ||
panic = 'abort' | ||
rpath = false | ||
|
||
[features] | ||
default = ["serde"] | ||
period_type_u16 = [] | ||
period_type_u32 = [] | ||
period_type_u64 = [] | ||
value_type_f32 = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -187,7 +187,7 @@ a file or class name and description of purpose be included on the same "printed | |
page" as the copyright notice for easier identification within third-party | ||
archives. | ||
|
||
Copyright [yyyy] [name of copyright owner] | ||
Copyright 2020 AMvDev ([email protected]) | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,32 @@ | ||
# tech-an | ||
# YATA | ||
|
||
Yet Another Technical Analysis library | ||
|
||
Yet Another Technical Analysis library | ||
|
||
YaTA implements most common technical analysis [methods](crate::methods) and [indicators](crate::indicators) | ||
|
||
It also provides you an iterface to create your own indicators. | ||
|
||
Some commonly used methods: | ||
|
||
- Accumulation-distribution index; | ||
- Cross / CrossAbove / CrossUnder; | ||
- Derivative (differential) | ||
- Highest / Lowest / Highest-Lowest Delta | ||
- Hull moving average | ||
- Integral (sum) | ||
- Linear regression moving average | ||
- Momentum | ||
- Pivot points | ||
- Simple moving average | ||
- Weighted moving average | ||
- Volume weighted moving average | ||
- Exponential moving average family: EMA, DMA, TMA DEMA, TEMA | ||
- Symmetrically weighted moving average | ||
|
||
And many others. | ||
|
||
# Current usafe status | ||
|
||
Currently there is no `unsafe` code in the crate. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
edition = "2018" | ||
hard_tabs = true | ||
tab_spaces = 4 | ||
|
||
# struct_field_align_threshold = 20 | ||
# enum_discrim_align_threshold = 20 | ||
# fn_single_line = true |
Oops, something went wrong.