python-quoine icon indicating copy to clipboard operation
python-quoine copied to clipboard

Getting a 'Type' error when placing order

Open roya12 opened this issue 4 years ago • 0 comments

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'

roya12 avatar Apr 02 '21 11:04 roya12