Code Duplication    Length = 9-9 lines in 2 locations

src/Exchange/BtcE.php 2 locations

@@ 86-94 (lines=9) @@
83
     * @return mixed
84
     * @throws \Exception
85
     */
86
    public function buyOrder($btc, $price)
87
    {
88
        return $this->send('Trade',[
89
            'pair' => 'btc_usd',
90
            'type' => 'buy',
91
            'rate' => $price,
92
            'amount' => $btc
93
        ]);
94
    }
95
96
    /**
97
     * @param $btc
@@ 102-110 (lines=9) @@
99
     * @return mixed
100
     * @throws \Exception
101
     */
102
    public function sellOrder($btc, $price)
103
    {
104
        return $this->send('Trade',[
105
            'pair' => 'btc_usd',
106
            'type' => 'sell',
107
            'rate' => $price,
108
            'amount' => $btc
109
        ]);
110
    }
111
112
    /**
113
     * @return mixed