Ccxt: How to hide verbose request output in PHP?

Created on 11 Feb 2018  ·  3Comments  ·  Source: ccxt/ccxt

Hi,

I call fetch_balance function and it is working correctly, but I see it print a request output on the resulting page, like following
Request: Array ( [0] => GET [1] => https://bittrex.com/api/v2.0/pub/Markets/GetMarketSummaries [2] => Array ( ) [3] => ) Request: Array ( [0] => GET [1] => https://bittrex.com/api/v1.1/account/getbalances?nonce=xxxxx&apikey=xxxxxxxxxxxxxxxxxxxxxxxxxxx [2] => Array ( [0] => apisign: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ) [3] => ) Request: Array ( [0] => GET [1] => https://api.kucoin.com/v1/market/open/symbols [2] => Array ( [User-Agent] => Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)

I want to hide this.

question

All 3 comments

@Sarona93 can you show your code? You need to remove the verbose mode from there.

Let us know if we can help with anything else here. Just remove the .verbose flag.

@kroitor Thanks a lot,
yes now it is working correctly,

Was this page helpful?
0 / 5 - 0 ratings