by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    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 =(
    Igor Kroitor
    @kroitor
    @AxlBlake_twitter There's probably more than one way to do this:
    1. load markets first, then split the execution
    2. load markets once, then overwrite the necessary properties with setMarkets/set_markets (not documented yet)
      ...
    Axl Blake
    @AxlBlake_twitter
    thx, set_markets looks a proper way in my case.
    John Zay
    @jzay
    Is BitMex supported by Pro? I thnk it says it is
    Levi Roberts
    @bugs181
    I used google search but couldn’t find any information relating to prices. Does anyone have a link they would be kind enough to point me to?
    Igor Kroitor
    @kroitor
    Levi Roberts
    @bugs181
    Thanks. A little expensive for my particular situation. Trying to build an online trading platform which would require unlimited exchanges. The idea is that it would be subscription based however $1k a month for just starting up would be too expensive for getting the ball rolling. Is there another way to work out a reasonable plan, based on amount of trades or something?
    (basically, all comments in this issue)
    @bugs181 but we will consider adding a plan for your situation
    you might want to read those comments on the licensing to understand it better
    Levi Roberts
    @bugs181
    Eek. Looks like I have some homework to do. Just by skimming, it looks like it’s primarily a trust based license?
    Igor Kroitor
    @kroitor
    yes
    Levi Roberts
    @bugs181
    Perfect. That will be ideal for startups and projects like what we’re doing.
    Igor Kroitor
    @kroitor
    Awesome ) In general we wouldn't want to have any tracking or intercepting mechanism that would affect your direct communication with the exchanges. Because direct communication is one of the key points of CCXT/CCXT Pro. You would not want to use this lib, if all traffic went through our "standalone server" of some sort.
    Levi Roberts
    @bugs181
    Indeed. That was a privacy and connectivity concern of our team as well. Our objective is to be fair to the open source world (CCXT pro, more specifically), however startups usually have an initial negative cash flow problem and we didn’t want to also run into that issue. We also need to be careful legally speaking because of government regulations. If/when the project takes off, we will most definitely be contributing financially and most likely PRs.
    Starting off, we plan to pay toward whichever license plan is 20% of our profits. Just so we can hit that break even point with all additional costs.
    Igor Kroitor
    @kroitor
    @bugs181 right, totally understood
    John Zay
    @jzay
    Can you monitor liquidations on Bitmex with CCXT Pro?
    Not sure how to find this out in the documentation. Is everything that the Bitmex websocket provides supported?
    Igor Kroitor
    @kroitor
    @jzay not yet, but we are going to unify margin/positional/leveraged trading in Q2, this is one of our topmost priorities for the coming future:
    @jzay at this time it supports the public feed and the balance
    @jzay you can see which methods are supported here:
    John Zay
    @jzay
    Thanks @kroitor
    Igor Kroitor
    @kroitor

    ATTENTION! ALARM! ALARM! )

    We are migrating from this chatroom to our new discoord server here:

    Everyone is welcome to join! We will be happy to see you all there!

    This chatroom will be archived after a while.

    hivemall
    @hivemall
    what is binance or in general 'id': vs 'order': in fetch_my_trades?
    which one is used to cancel
    Igor Kroitor
    @kroitor
    @hivemall in fetch_my_trades, the id is the trade id, and the order is the order id.
    you can cancel the order by order id, but you cannot cancel a trade by a trade id.
    the difference is explained in the Manual here: https://github.com/ccxt/ccxt/wiki/Manual#how-orders-are-related-to-trades
    Please join discord here: https://discord.gg/dhzSKYU
    This room will not be supported further.
    hivemall
    @hivemall
    aww. discord is for kids only, its slow loading and bad navigate now overveiw, i like it here
    mortezae
    @mortezae
    Hello, I instantiated a socks proxy agent using socks-proxy-agent on nodejs, then pass it as 'agent' option when initializing ccxt. I get this error: The "options.agent" property must be one of type Agent-like Object, undefined, or false. Received type object
    I searched ccxt github issues but found no solutions.
    mortezae
    @mortezae
    Also I tried options.proxies: {http: 'socks5://127.0.0.1:9050', https: 'socks5://127.0.0.1:9050'}
    Anyway it seems that doesn't work as nothing is serving on that port now and ccxt works and loads markets!
    Igor Kroitor
    @kroitor

    @mortezae hi!
    This chat has moved here: https://discord.gg/dhzSKYU

    The .agent and .proxies should not be a part of exchange-specific .options.

    So, instead of setting exchange.options.agent or exchange.options.proxies...

    ... you want to set exchange.agent (which must be a instance of the node's Agent class), or you want to set exchange.proxies.

    I suggest to move this discussion to discord

    New discord chat: https://discord.gg/dhzSKYU
    mortezae
    @mortezae
    OK I continue on Discord, Thanks. Feel free to remove it from here.
    Fcl69
    @Fcl69
    Hey gentlemen...
    It could be a long shot, but nevertheless....
    Let's say I want to buy 1 BTC. As fast as possible and as close to the current (momentum) price as possible.
    Can someone point me the way to a good strategy/algorithm, which could help me to accomplish it with minimum losses?
    Again, I don't want to place an order for a limit price and sit there for hours, hoping it'd fill up. And I don't want to buy such a high volume (1BTC) for the market price, as my average price would drop down significantly.
    What I'm looking for is some sort of a proven algorithm:
    1. Set limit order for 0.1% less of the price
    2. If it filled up only 10% of the order over 1-3-5m, cancel order and create a new one with a limit price 'current price less 0.2%'
    3. Repeat 1-2 until fully executed.
      ....something like that.
      I'd appreciate if someone could share their knowledge here. And/or show me where I could find more info.