-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add checks if required columns are present 🙂 (#45)
* update readme for true label * Populate naming conventions docu * Add checks for required columns * Extend documentation
- Loading branch information
Showing
7 changed files
with
119 additions
and
20 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
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
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,19 @@ | ||
For `tclf` to work, we impose constraints on the column names. The following input is required by each rule. Data requirements are additive, if multiple rules are applied. | ||
|
||
|
||
|
||
|
||
| Rule | Layer Name | Columns | | ||
|-----------------------------|------------------------|-------------------------------------------------------------------------------------------| | ||
| No classification | `("nan","sub")` | None | | ||
| Tick test | `("tick","sub")` | `trade_price`, `price_{sub}_lag` | | ||
| Reverse tick Test | `("rev_tick","sub")` | `trade_price`, `price_{sub}_lead` | | ||
| Quote Rule | `("quote","sub")` | `trade_price`, `ask_{sub}`, `bid_{sub}` | | ||
| Lee-Ready Algorithm | `("lr","sub")` | `trade_price`, `price_{sub}_lag`, `ask_{sub}`, `bid_{sub}` | | ||
| EMO Algorithm | `("emo","sub")` | `trade_price`, `price_{sub}_lag`, `ask_{sub}`, `bid_{sub}` | | ||
| CLNV Rule | `("clnv","sub")` | `trade_price`, `price_{sub}_lag`, `ask_{sub}`, `bid_{sub}` | | ||
| Reverse Lee-Ready Algorithm | `("rev_lr","sub")` | `trade_price`, `price_{sub}_lead`, `ask_{sub}`, `bid_{sub}` | | ||
| Reverse EMO Algorithm | `("rev_emo","sub")` | `trade_price`, `price_{sub}_lead`, `ask_{sub}`, `bid_{sub}` | | ||
| Reverse CLNV Rule | `("rev_clnv","sub")` | `trade_price`, `price_{sub}_lead`, `ask_{sub}`, `bid_{sub}` | | ||
| Depth rule | `("depth","sub")` | `trade_price`, `ask_{sub}`, `bid_{sub}`, `ask_size_{sub}`, `bid_size_{sub}` | | ||
| Trade size rule | `("trade_size","sub")` | `trade_size`, `ask_size_{sub}`, `bid_size_{sub}` | |
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
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 +1 @@ | ||
__version__ = "0.0.2" | ||
__version__ = "0.0.1" |
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
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