Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.

Commit

Permalink
refactor: update
Browse files Browse the repository at this point in the history
  • Loading branch information
xzmeng committed Jan 1, 2023
1 parent 3809e37 commit 28776db
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 8 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,23 @@ Binance History

.. image:: https://img.shields.io/pypi/v/binance-history
:target: https://pypi.org/project/binance-history/
:alt: pypi
:alt: pypi version

.. image:: https://img.shields.io/github/license/xzmeng/binance-history
:target: https://github.com/xzmeng/binance-history/blob/master/LICENSE
:alt: license - MIT
:alt: License - MIT

.. image:: https://img.shields.io/codecov/c/github/xzmeng/binance-history
:target: https://codecov.io/github/xzmeng/binance-history
:alt: coverage
:alt: Coverage

.. image:: https://img.shields.io/github/actions/workflow/status/xzmeng/binance-history/tests.yml?label=tests
:target: https://github.com/xzmeng/binance-history/actions
:alt: tests
:alt: Tests Status

.. image:: https://readthedocs.org/projects/binance-history/badge/?version=latest
:target: https://binance-history.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status

Fetch binance public data easily.

Expand Down
2 changes: 0 additions & 2 deletions tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,6 @@ def test_fetch_klines_1h_recent_days():
("symbol", "asset_type"), [("ETCBTC", "spot"), ("LTCBUSD", "futures/um")]
)
def test_fetch_agg_trades_one_month(symbol, start, end, tz, asset_type):
if symbol == "ETCBTC":
assert False
agg_trades = fetch_agg_trades(symbol, start, end, asset_type, tz)
assert agg_trades.index[0].day == 2
assert agg_trades.index[-1].day == 19
Expand Down

0 comments on commit 28776db

Please sign in to comment.