Skip to content

Getting a 'Type' error when placing order #8

@royhan-cloud

Description

@royhan-cloud

Getting an error when placing an order. Any advice? Thank you.
Full code below:

from quoine.client import Quoinex
client = Quoinex(
"XXX", "YYY")

order = client.create_order(
type=Quoinex.ORDER_TYPE_LIMIT,
product_id=624,
side=Quoinex.SIDE_BUY,
quantity='0.01',
price='596000')

Error:
Traceback (most recent call last):
File "FILE-PATH", line 39, in
order = client.create_order(
TypeError: create_order() got an unexpected keyword argument 'type'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions