Skip to content

Commit 159a81d

Browse files
Apply suggestions provided by Copilot
1 parent 5b7f986 commit 159a81d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

examples/xstocks_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# !/usr/bin/env python3
22
# -*- mode: python; coding: utf-8 -*-
33
#
4-
# Copyright (C) 2023 Benjamin Thomas Schwertfeger
4+
# Copyright (C) 2025 Benjamin Thomas Schwertfeger
55
# All rights reserved.
66
# https://github.com/btschwertfeger
77
#

tests/spot/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,15 +130,15 @@ def xstocks_client() -> SpotClient:
130130

131131

132132
@pytest.fixture(scope="session")
133-
def xstocks_market_client() -> SpotClient:
133+
def xstocks_market_client() -> Market:
134134
"""
135135
Fixture providing an authenticated Spot client.
136136
"""
137137
return Market(key=XSTOCKS_API_KEY, secret=XSTOCKS_SECRET_KEY, url=XSTOCKS_API_URL)
138138

139139

140140
@pytest.fixture(scope="session")
141-
def xstocks_trade_client() -> SpotClient:
141+
def xstocks_trade_client() -> Trade:
142142
"""
143143
Fixture providing an authenticated Spot client.
144144
"""

0 commit comments

Comments
 (0)