Skip to content

Commit cd44998

Browse files
Docs
1 parent 696a79a commit cd44998

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/kraken/spot/trade.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def create_order( # pylint: disable=too-many-branches,too-many-arguments # noqa
109109
settings.
110110
111111
If the traded asset is a tokenized asset, `extra_params` must contain
112-
the key `"aclass_base"` with value `"tokenized_asset"`.
112+
the key `"asset_class"` with value `"tokenized_asset"`.
113113
114114
- https://docs.kraken.com/api/docs/rest-api/add-order
115115
@@ -343,7 +343,9 @@ def create_order( # pylint: disable=too-many-branches,too-many-arguments # noqa
343343
amount_type="volume",
344344
pair=pair,
345345
asset_class=(
346-
extra_params.get("asset_class") if extra_params else "currency"
346+
extra_params.get("asset_class", "currency")
347+
if extra_params
348+
else "currency"
347349
),
348350
)
349351
),

0 commit comments

Comments
 (0)