Showgofar

Results 19 comments of Showgofar

so it should be 5.6+ then or you can replace spread with function and it should work before update to latest ccxt version it was working fine on php 5.5

Also there is one more error if i replace code to ``` $sliced = array_slice($args, 1); $merged = array(); foreach ($sliced as $item) { $merged = array_merge($merged, $item); } ```...

I am sending parameter "type" : "buy-ioc" the same way like I am sending "immediateOrCancel": 1 for poloniex

Is it was changed somehow? because previosly to create IOC order you should send params (and it was diffrent for every exchange) so we do it like $response = $ccxt[0]->create_order($pair['pair_symbol'],...

So what i have find out) Here is manual ![image](https://user-images.githubusercontent.com/38069687/188085581-aaabc593-f2ef-4947-8518-d77681b26551.png) For binance and poloniex works fine : "timeInForce": "IOC" for bitrex "timeInForce": "IMMEDIATE_OR_CANCEL" otherwise if send "timeInForce": "IOC" for bittrex...

do you use buy-ioc isntead of limit? or you create limit order with buy-ioc option? because its completely change the logic. In first case we should create exchange specific orders...

still havent got an idea how to send IOC at huobi - other exchanges are OK for me

Thank you I had updated to latest version and got new error so I wasnt even possible to try Fatal error: Uncaught Error: Class "React\Promise\Deferred" not found in /home/ccxt/php/pro/Future.php:8 Stack...

yep, but i was always update it like that (direct download and replace php files)

> @sc0Vu > ex.createOrder (symbol, 'limit', 'buy', amount, price, {'timeInForce': 'ioc'}) this doesn't work as I mentioned above - parameter is just ignored