I reply to all queries on the forums and via email, once per day, Monday to Friday (not weekends).

If you are new here, please see some information on how to ask for support. Thank you!

Limit Order Pricing

dashed-slug.net Forums Exchange extension support Limit Order Pricing

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11373
    Anonymous
    Inactive

    Thanks for your great works on this plugin sir.
    Please how can I change the price on the limit order to real time price. So that the price can change automatically when the price of the particular coin changes

    #11374
    alexg
    Keymaster

    Hello,

    The exchange only processes standard orders, as with other exchanges. Normally in large exchanges, synchronization with the globally accepted price is done by arbitrage bots.

    To have an order that moves with the market, you must create an external script that places an order, then at regular intervals it cancels the order and places another one with the new price. This is what the Exchange’s JSON-API is there for. (In the upcoming wallets6 release, the JSON-API is superseded by a newer RESTful API which is easier to use, but the existing JSON-API will still exist for compatibility with existing scripts.)

    Do not simply modify the price of the limit order in the database. The reason that the order must be placed via the API, is that the plugin does checks to see if you have enough available balance.

    with regards

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.