-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve perf of trades by changing data structures (#74)
* Change Trades type * Change Trade type * Refine make trades * Refine make trades * get_trade returns pd.Series * Delete symbol from Trade * Make Trade as Series * Delete symbol from make_trade * Add append_trade * Add append_trade * Delete add_transaction * Delete make_trades * Shorten flatten * Delete flatten * Delete from_series * Rename from_tuple to make_trades * Delete append_trade * Delete Trade * Add unittest * Add filter_trade * Add any and all * Update version * Update trade init * Fix mypy * Improve performance of trades * Improve performance of exit * Fix mypy * Improve performance of trades * Fix type * Update docstring
- Loading branch information
1 parent
1d3ce1e
commit 6adc359
Showing
16 changed files
with
355 additions
and
274 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
__author__ = "AlpacaJapan Co., Ltd." | ||
__version__ = "0.1.5" | ||
__release__ = "0.1.5" | ||
__version__ = "0.2.0" | ||
__release__ = "0.2.0" | ||
__license__ = "MIT" |
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
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
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 @@ | ||
from backlight.trades.trades import flatten, make_trade # noqa | ||
from backlight.trades.trades import make_trade, make_trades # noqa |
Oops, something went wrong.