question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exchange: Independent Reserve, Error: "AttributeError: 'independentreserve' object has no attribute 'PlaceLimitOrder'"

See original GitHub issue

Unfortunately, it appears that the Independent Reserver API is broken in some way. I cannot place a limit buy order.

  • OS: Windows 10
  • Programming Language: Python 3.6.4
  • CCXT version: 1.10.566
  • Exchange: Independent Reserve
  • Method: create_limit_buy_order()
ireserve = ccxt.independentreserve()
ireserve.apiKey = KEY
ireserve.secret = SECRET
ireserve.load_markets()

ireserve.verbose = True
ireserve.create_limit_buy_order('BTC/NZD', 0.001, 21000)

The traceback is as follows:

Traceback (most recent call last):
  File "C:/Solus/Projects/CoinTrader/main.py", line 2, in <module>
    import tradebook
  File "C:\Solus\Projects\CoinTrader\tradebook.py", line 2, in <module>
    from misc import common, general
  File "C:\Solus\Projects\CoinTrader\misc\general.py", line 8, in <module>
    from api import api_bittrex, api_ireserve
  File "C:\Solus\Projects\CoinTrader\api\api_ireserve.py", line 43, in <module>
    ireserve.create_limit_buy_order('BTC/NZD', 0.001, 21000)
  File "C:\Python\Python364\lib\site-packages\ccxt\base\exchange.py", line 1009, in create_limit_buy_order
    return self.create_order(symbol, 'limit', 'buy', *args)
  File "C:\Python\Python364\lib\site-packages\ccxt\independentreserve.py", line 192, in create_order
    response = getattr(self, method)(self.extend(order, params))
AttributeError: 'independentreserve' object has no attribute 'PlaceLimitOrder'

Thanks, Mark

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
mpainenzcommented, Jan 6, 2018

Is the difference in precision per market, or per currency? For example is it that each market might use different precision for a particular currency? IE using 6 decimal places for BTC which supports 8? Or is it that some currencies have a different precision than 8, or 2 for fiat.

Also, do the developers have a chat channel or other place to communicate I might be able to participate in? I notice for example Independent reserve does not have fetch_order() implemented in the unified API yet, and I was looking to add it. A little guidance might be a time saver for me, as some of the Python syntax is unfamiliar to me.

Thanks, Mark

0reactions
mpainenzcommented, Jan 6, 2018

Thanks again @kroitor, that was really helpful.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Exchange: Independent Reserve, Error: AttributeError: ' ...
Exchange: Independent Reserve, Error: AttributeError: 'independentreserve' object has no attribute 'PlaceLimitOrder' #1075.
Read more >
Frequently Asked Questions (FAQ)
Independent Reserve uses competitive exchange rates for all currency conversions used during multi-currency trading. Please note, that these rates are ...
Read more >
python - AttributeError: 'TradingApp' object has no attribute ' ...
I did it twice in two of my computers, but seeing the same error. I made sure TWS files are in the right...
Read more >
Independent Reserve (@indepreserve) / Twitter
The Trusted Exchange to buy, sell and trade Bitcoin and crypto in Australia, Singapore and New Zealand. Financial Services ...
Read more >
Independent Reserve
Independent Reserve, Sydney, Australia. 3172 likes · 35 talking about this. Trusted cryptocurrency exchange where you can buy and sell digital...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found