Rename .notify_info to .data in Notification (bfxapi.notifications).

This commit is contained in:
Davide Casale
2023-02-20 18:29:08 +01:00
parent 6f61b983a5
commit 442155b48e
5 changed files with 14 additions and 14 deletions

View File

@@ -15,5 +15,5 @@ bfx = Client(
# Claims all active positions
for position in bfx.rest.auth.get_positions():
notification: Notification[PositionClaim] = bfx.rest.auth.claim_position(position.position_id)
claim: PositionClaim = notification.notify_info
claim: PositionClaim = notification.data
print(f"Position: {position} | PositionClaim: {claim}")