From 21006279d7d647f64ab99fb668b1b7412287a092 Mon Sep 17 00:00:00 2001 From: Benjamin Thomas Schwertfeger Date: Sat, 20 May 2023 06:52:00 +0200 Subject: [PATCH] adjusted the kraken.spot.Trade.create_order examples --- kraken/spot/trade/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kraken/spot/trade/__init__.py b/kraken/spot/trade/__init__.py index 29e13768..7437fe8c 100644 --- a/kraken/spot/trade/__init__.py +++ b/kraken/spot/trade/__init__.py @@ -167,7 +167,7 @@ def create_order( ... volume="0.0001" ... ) { - 'txid': 'TNGMNU-XQSRA-LKCWOK', + 'txid': ['TNGMNU-XQSRA-LKCWOK'], 'descr': { 'order': 'buy 4.00000000 XBTUSD @ limit 23000.0' } @@ -190,7 +190,7 @@ def create_order( ... oflags=["post", "fcib"] ... ) { - 'txid': 'TPPI2H-CUZZ2-EQR2IE', + 'txid': ['TPPI2H-CUZZ2-EQR2IE'], 'descr': { 'order': 'buy 4.0000 XBTUSD @ limit 23000.0' } @@ -210,7 +210,7 @@ def create_order( ... side="buy", ... ) { - 'txid': 'THNUL1-8ZAS5-EEF3A8', + 'txid': ['THNUL1-8ZAS5-EEF3A8'], 'descr': { 'order': 'buy 20.00000000 XBTUSD @ stop loss 22000.0' }