hitbtc-com / hitbtc-api

HitBTC API
GNU Lesser General Public License v3.0
324 stars 153 forks source link

Streaming api, Rate limits calculation. #158

Open fihnatowicz opened 6 years ago

fihnatowicz commented 6 years ago

I can't subscribe to more than 60-70 trade reports

API description:

Code example:

foreach(var symbol in symbols)
{
     Counter++;
     if(Counter % 10 == 0)
         Thread.Sleep(1000);
    Trade.Subscribe(symbol)
}
fihnatowicz commented 6 years ago

Same problem with candles, unable subscribe to more than 10-15 candles... (api closing connection), but for example with orderbooks all fine