Объясните метод Trade

Тема в разделе "Разработка", создана пользователем useruser, 1 фев 2018.

  1. useruser

    useruser новичок

    Здравствуйте! Пожалуйста, объясните мне метод Trade.
    Метод из типового API используемого на биржах wex yodit liqui и аналогичных.
    В php разбираюсь - тех часть не нужна.
    Я знаю английский язык, но не понимаю (логика) как создается ордер.

    Method Trade
    The basic method that can be used for creating orders and trading on the exchange. To use this method you need an API key privilege to trade. You can only create limit orders using this method, but you can emulate market orders using rate parameters. E.g. using rate=0.1 you can sell at the best market price. Each pair has a different limit on the minimum / maximum amounts, the minimum amount and the number of digits after the decimal point. All limitations can be obtained using the info method in PublicAPI v3.

    Parameters:

    Parameter description assumes value
    pair pair eth_btc (example)
    type order type buy or sell
    rate the rate at which you need to buy/sell numerical
    amount the amount you need to buy / sell numerical

    Итого у нас есть 4 параметра.
    Предположим, я решил что то купить. Что я сейчас покупаю, за сколько, какое количество и т.д?

    pair=eth_btc
    type=buy
    rate=1000
    amount=1

    И что я сейчас продаю, за сколько, какое количество и т.д?
    pair=eth_btc
    type=sell
    rate=200
    amount=10

    Прошу вас быть максимально точными.
    Спасибо.