Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Axl Blake
    @AxlBlake_twitter
    from ccxt.async_support.okcoincny import okcoincny                        # noqa: F401
    ModuleNotFoundError: No module named 'ccxt.async_support.okcoincny'
    Igor Kroitor
    @kroitor
    @AxlBlake_twitter hi, will fix shortly, we are migrating OKEX atm, sorry for the inconvenience
    Axl Blake
    @AxlBlake_twitter
    after commenting this line out it started working great, but not on private methods I've got
    ccxt.base.errors.AuthenticationError: binance userDataStream endpoint requires apiKey credential
    if I'm trying to do the same auth as on regular cctx
    I mean balance = await exchange.watch_balance() for example
    for binance exchange
    Igor Kroitor
    @kroitor
    make sure you don't have typos in the code that configures the credentials
    like apikey vs apiKey (the latter is the correct one)
    Axl Blake
    @AxlBlake_twitter
    just tried, private methods not requiring ws (regular rest queries) works as usual on the same ccxtpro class instance
    Igor Kroitor
    @kroitor
    to instantiate binance from pro with api keys you would simply do something like this:
    import ccxtpro
    
    exchange = ccxtpro.binance({
        'apiKey': 'YOUR_API_KEY',
        'secret': 'YOUR_SECRET',
    })
    
    # ... your code...
    Axl Blake
    @AxlBlake_twitter
    yep, await exchange.fetch_balance() works and await exchange.watch_balance() raises exception I wrote above
    Igor Kroitor
    @kroitor
    hold on, i'll test on my side and will get back to you shortly, need ~10-15 minutes
    Axl Blake
    @AxlBlake_twitter
    ok, thank you
    Igor Kroitor
    @kroitor
    @AxlBlake_twitter a few more seconds, i'm on it
    Igor Kroitor
    @kroitor

    @AxlBlake_twitter alright, if you update ccxtpro to 0.0.71 you won't have an import problem anymore (the first of the two you mentioned).

    As for the second issue with watch_balance, I've just tried this simple snippet with the version 0.0.71:

    import ccxtpro
    import asyncio
    
    
    async def main():
        exchange = ccxtpro.binance({
            'enableRateLimit': True,
            'apiKey': 'YOUR_API_KEY',
            'secret': 'YOUR_SECRET',
        })
        while True:
            balance = await exchange.watch_balance()
            print(balance)
    
    
    print('CCXT Pro version:', ccxtpro.__version__)
    asyncio.get_event_loop().run_until_complete(main())

    ↑ And this works on my side. Does it work on your side in this simple form ? (assuming you have properly reinstalled the packages and don't refer to bogus or old installations)

    In order to check for runtime versions, i've added a version output to the above snippet.

    ccxtpro v 0.0.71 will arrive 2-3 minutes
    Let me know if you have difficulties with v0.0.71 and the above snippet (with your keys, of course)
    Axl Blake
    @AxlBlake_twitter
    now it works! thank you!! should I use issue's on github or it's ok to ask about similar issues here?
    Igor Kroitor
    @kroitor
    @AxlBlake_twitter whatever is more convenient to you ) Sometimes you can get the answer faster via GitHub, but, when posting a new issue, please, make sure to follow these guidelines literally (extremely precisely): https://github.com/ccxt/ccxt/wiki/FAQ.
    @AxlBlake_twitter thx to you for reporting!
    and for using CCXT Pro! )
    hivemall
    @hivemall
    @kroitor do you have the bittrex market orders scheduled today for merge?
    hivemall
    @hivemall
    please :P
    z63
    @zhukai7714
    What does SEAT of ccxt pro mean?
    Does 1 seat means the library is limited to be used in 1 computer?
    Igor Kroitor
    @kroitor

    @zhukai7714 hello, this is answered here: https://github.com/ccxt/ccxt/issues/6543#issuecomment-593225831

    What do you define as a seat in your license model?

    The number of GitHub users on your team or company who can also get access to the repository using their own GitHub accounts, you add them to your plan.

    Igor Kroitor
    @kroitor
    @hivemall i can't promise but will do my best to get to it first thing today or tomorrow
    Axl Blake
    @AxlBlake_twitter
    is binance watch_balance support futures market? 'cause I'm set defaultType option to 'future' as on ccxt and it doesn't works instead of spot watch_balance
    Igor Kroitor
    @kroitor
    @AxlBlake_twitter yep it should work with the futures... Does watch_order_book work on your side with futures?
    Axl Blake
    @AxlBlake_twitter
    it looks like it trying to do POST https://api.binance.com/api/v3/userDataStream when using futures o_O
    Igor Kroitor
    @kroitor
    @AxlBlake_twitter it may indicate a bug, let me debug it for a little bit and i will get back to you with a followup on this one
    Igor Kroitor
    @kroitor
    @AxlBlake_twitter after some testing, i can confirm the issue, working on the fix right now, will let you know when it's there
    Igor Kroitor
    @kroitor
    @hivemall Bittrex v3 market orders are now available in CCXT 1.24.47+
    XuTianyi
    @wingofsky
    I sent an email titled: "What should I do if the transfer amount is wrong?" To info@ccxt.pro
    I wonder if anyone has received it?
    This is an email about the payment amount error when purchasing the pro version
    Axl Blake
    @AxlBlake_twitter
    also about binance on python, - parsing of messages such as balance or orders not works on latest 0.0.83, I see messages only in verbose mode. printing of them shows nothing o_O can you check it?))
    Igor Kroitor
    @kroitor
    @wingofsky hello! Yes, we have received it.
    @wingofsky please, see my dm to you
    hivemall
    @hivemall
    @kroitor great work as always, will pull and test
    Igor Kroitor
    @kroitor
    @AxlBlake_twitter please, try 0.0.84+ in 15 minutes, i've uploaded some more edits (we are uploading them daily), this was a minor leftover, so it should work now. We are still fixing the futures balance, that part will arrive soon.
    Igor Kroitor
    @kroitor
    @AxlBlake_twitter more about this issue here: ccxt/ccxt#6641
    Axl Blake
    @AxlBlake_twitter
    now spot works, thank you. waiting for futures balances and orders =)
    Igor Kroitor
    @kroitor
    @AxlBlake_twitter thx for your feedback, really appreciate it! Will be back to you with a followup asap.
    Axl Blake
    @AxlBlake_twitter
    any ETA on futures? in days or so
    Igor Kroitor
    @kroitor
    if nothing pops up it should not take more than a few days at most
    Axl Blake
    @AxlBlake_twitter
    thx
    XuTianyi
    @wingofsky
    @kroitor Received the mail! Thank you very much!
    Igor Kroitor
    @kroitor
    @wingofsky you're welcome! Thank you for using CCXT Pro )
    Axl Blake
    @AxlBlake_twitter
    @kroitor just interesting on enhancement, is there a way to cache or workaround markets load each time I call ccxt methods? cause in my use case I call from different processes and every time it calls to load markets it reduces execution time and weight =(