Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    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.
    Hamed Gholami
    @hamiGH
    Hi, how can I place "take profit order" on bitmex by using ccxt?
    Fcl69
    @Fcl69

    Hey guys, can someone point me on what I'm doing wrong here?... I'm trying to create margin stop_loss_limit order on binance:

    exch = ccxt.binance({ "apiKey":"'', "secret":""
    "options": {
    "defaultType": "margin",}
    })
    exch.create_order(symbol='BTC/USDT', type='limit', side='sell', amount=0.01, price=9800, >params={'stopPrice':9900, 'orderType':'STOP_LOSS_LIMIT'})

    Igor Kroitor
    @kroitor

    @Fcl69


    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.

    Mingzhao
    @mingzhaocn
    How to create BTC-PERP order by USD instead of BTC-PERP'amount
    Hiếu Đỗ
    @hieudo92
    Hi guys, I'm a beginner. Someone can show me a ways to take more than 1000 records in a times by calling fetchOHLVC function, please?
    Igor Kroitor
    @kroitor
    @hieudo92 New discord chat: https://discord.gg/dhzSKYU
    Hiếu Đỗ
    @hieudo92

    @hieudo92 New discord chat: https://discord.gg/dhzSKYU

    Thank you! I have been joined with name is CoverLove

    Vincenzo Palazzo
    @vincenzopalazzo
    Hello Gius, I'm trying to work with the library for python, and I'm searching for the method that gives me the opportunity to retrieve the amount in EURO inside my account. In other words, I need to query how money is ready on the exchange to trade. Thanks
    Vincenzo Palazzo
    @vincenzopalazzo
    ops! I"m in a old place sorry
    Alan Asmis
    @AsmisAlan
    Hi folks! do you know if ccxt supports Binance smart chain trading ?
    AntonHansel
    @Antonhansel
    Hey, I was wondering how one can get the error type when ccxt throws.
    do I have to manually check the error class ? It's a pain

    Like, do I have to do this ?

              if (e instanceof ccxt.InsufficientFunds) {
                error = 'InsufficientFunds';
              }
              if (e instanceof ccxt.OrderNotFillable) {
                error = 'OrderNotFillable';
              }

    etc...

    Pavneet Singh
    @pavs94
    Calling huobi to create Order is extremely slow compared to the Non-ccxt version
    calling from aws tokyo as well
    yegito
    @yegito2_twitter
    CCXT supports future open order ?
    Igor Kroitor
    @kroitor
    Hi guys!
    This chat is not maintained anymore. New discord chat: https://discord.gg/dhzSKYU
    Please, join the new chat.
    @pavs94 see this issue: ccxt/ccxt#4341
    @Antonhansel in JS there's no other way of checking the error type, but you can also get a string name like so:
    try {
    } catch (e) {
        console.log (e.constructor.name)
    }
    @yegito2_twitter yes, it does support futures orders to a certain extent, most of it is covered in the existing issues on github as well as the examples

    New discord chat: https://discord.gg/dhzSKYU
    Please, join the new chat.
    zenitsuisgod
    @zenitsuisgod
    Is it possible to fetch just the most recent candle stick data ? or i have to call over a range at ever interval
    please
    Edge-Rider
    @Edge-Rider
    Hi! I found this board searching for a solution in resetting nonce to use same API key wits several instances of my python script. I know as stated https://github.com/ccxt/ccxt/wiki/Manual#authentication I shouldn't use same pair with several istances of my script , but for some reasons I have to. So I used the override nonce https://github.com/ccxt/ccxt/wiki/Manual#invalid-nonce but isn't work. Any suggestion?
    Vladimir
    @kovalevvlad
    Hi guys a quick question, how is idempotency normally ensured for order placement? APIs such as Stripe offer idempotency keys which can be included in the header to ensure the same operation is not executed twice. I am trying to find a similar mechanism for crypto exchanges and not having any luck.
    I thought that ClOrdId could serve as such a key but e.g. Okex doesn't give a shit if you have just executed an order with the exact same ClOrdId and places another order when ClOrdId is repeated
    Oh I see, this chat is dead
    Igor Kroitor
    @kroitor
    New discord chat: https://discord.gg/dhzSKYU
    Please, join the new chat.
    Miro Krsjak
    @kyjak
    hello, I bought the pro version for tracking private orders and trades (kraken exchange, using python) and apparently this is not possible???
    Igor Kroitor
    @kroitor
    @kyjak this chat is off
    New discord chat: https://discord.gg/dhzSKYU
    Please, join the new chat.
    1 reply
    Miro Krsjak
    @kyjak
    hello there, not sure if this was already discussed, i get a task crash "task crashed Connection to wss://ws.kraken.com timed out due to a ping-pong keepalive missing on time"
    invictus97k
    @invictus97k
    hi guys i'm new here, and i have a question. How can i get the mark price / current price of a symbol using ccxt in python?
    Rahul Soshte
    @rahul-soshte
    I want to be able to trade Bitclout using ccxt on Ascendex is it possible? How do I check if it is possible, I am using Python to make the bot.
    Igor Kroitor
    @kroitor
    @invictus97k @rahul-soshte
    This chat is off
    New discord chat: https://discord.gg/dhzSKYU
    Please, join the new chat.