Skip to content

Commit

Permalink
adjusted the kraken.spot.Trade.create_order examples
Browse files Browse the repository at this point in the history
  • Loading branch information
btschwertfeger committed May 20, 2023
1 parent c23e3d7 commit 2100627
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kraken/spot/trade/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
Expand All @@ -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'
}
Expand All @@ -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'
}
Expand Down

0 comments on commit 2100627

Please sign in to comment.