bitfinex-py icon indicating copy to clipboard operation
bitfinex-py copied to clipboard

Having trouble initiating trade

Open Zalkota opened this issue 7 years ago • 0 comments

Attempting to create a script for placing an order with the help of the example "basic.py" I keep getting the error: AttributeError: 'Client' object has no attribute 'place_order'

from bitfinex.client import Client

client = Client() TradeClient = Trade()

symbols = client.symbols() print(symbols)

symbol = 'iotusd'

client.init()

Trade.place_order(IOTUSD, 5, 0.9, bitfinex, buy, limit)

print(client.ticker(symbol))

parameters = {'limit_asks': 2, 'limit_bids': 2}

print(client.lendbook('iot', parameters)) print(client.order_book(symbol, parameters))

Zalkota avatar Aug 29 '17 01:08 Zalkota