Skip to content

Can we send bulk orders in one request #11

@update123

Description

@update123

`public function createOrder($type,$side,$price,$quantity,$maker = false) {

    $symbol = self::SYMBOL;
    $data['method'] = "POST";
    $data['function'] = "order/bulk";
    $data['params'] = array(
        "symbol" => $symbol,
        "side" => $side,
        "price" => $price,
        "orderQty" => $quantity,
        "ordType" => $type
    );

    if($maker) {
        $data['params']['execInst'] = "ParticipateDoNotInitiate";
    }
    return $this->authQuery($data);
}`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions