Skip to content

Commit

Permalink
Added PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-zehentleitner committed Nov 24, 2023
1 parent bdad5de commit 9a39383
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p

[Discussions about unicorn-fy releases!](https://github.com/LUCIT-Systems-and-Development/unicorn-fy/discussions/categories/releases)

[How to upgrade to the latest version!](https://unicorn-fy.docs.lucit.tech/README.html#installation-and-upgrade)
[How to upgrade to the latest version!](https://unicorn-fy.docs.lucit.tech/readme.html#installation-and-upgrade)

## 0.13.1.dev (development stage/unreleased/unstable)
### Added
- PR "futures account update: handle multi_assets_mode update" https://github.com/LUCIT-Systems-and-Development/unicorn-fy/pull/38
- PR "Updated All Futures Market Streams, Implemented Proper Coin-Futures Handling" https://github.com/LUCIT-Systems-and-Development/unicorn-fy/pull/39

## 0.13.1
- Building conda packages and distribute them via https://anaconda.org/lucit
Expand Down
7 changes: 5 additions & 2 deletions unicorn_fy/unicorn_fy.py
Original file line number Diff line number Diff line change
Expand Up @@ -1248,13 +1248,16 @@ def binance_futures_websocket(stream_data_json, exchange="binance.com-futures",
}
except TypeError as error_msg:
logger.critical(f"UnicornFy->binance_futures_websocket({str(unicorn_fied_data)}) - "
f"error: {str(error_msg)}")
f"error: {str(error_msg)} - Variable: {stream_data['data']}")
except KeyError as error_msg:
logger.critical(f"UnicornFy->binance_futures_websocket({str(unicorn_fied_data)}) - "
f"error: {str(error_msg)} - Variable: {stream_data['data']}")
unicorn_fied_version = [exchange, UnicornFy.VERSION]
try:
unicorn_fied_data['unicorn_fied'] = unicorn_fied_version
except TypeError as error_msg:
logger.critical(f"UnicornFy->binance_futures_websocket({str(unicorn_fied_data)}) - "
f"error: {str(error_msg)}")
f"error: {str(error_msg)} - Variable: {stream_data['data']}")
logger.debug("UnicornFy->binance_futures_websocket(" + str(unicorn_fied_data) + ")")
return unicorn_fied_data

Expand Down

0 comments on commit 9a39383

Please sign in to comment.