Git Product home page Git Product logo

yobit's People

Contributors

nanobjorn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

yobit's Issues

License

@NanoBjorn

I will use this in my project but there is no license attached. Is that intentional?
I also want to refactor the project so that I can push it to pypi. You OK with that?

Weird issue when placing trade in XEM_BTC

I seems to be unable to trade XEM_BTC through the API (pretty sure its not your implementation) and was hoping you could reproduce my issue and confirm the pair is bugged at yobits side.

Following code fails (for me, currently):
api_client.trade(pair='xem_btc', trade_type='buy', rate=0.00004550, amount=15)

The error given is "transaction amount less than minimal total of 0.0001". I can get the same error from their website interface by switching rate and amount.

so for some reason it thinks that the rate parameter is the amount and says its too low, even though amount is sufficient and the quote total (cost) is above minimum too. (?)

I tried switching around, and increasing/decreasing the values and only got more and more confused.

Then I changed my test case from XEM_BTC to ETH_BTC and my code could run.

Very curious as to what the cause is, and how i can fix or work around this.

Found some mistake

Ola, I am using your wrapper, thanks for your work
Here is some inconsistency:
def trade_history(self, pair, from_start=0, count=1000, from_id=0, end_id=100000000000,
order='DESC', since=0, end=time.time() + 1000

  1. it should be int
  2. Actually in Python we can`t use dynamic arguments for function like end=time.time() + 1000. It will be calculate once at declaration of function. So:
    ...,end=None)
    end = int(time.time()) + 1000 if end is None else end

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.