How to set up contract risk limit bybit ccxt? - ccxt

I got this error without any other details:
bybit {"ret_code":130006,"ret_msg":"The number of contracts exceeds maximum limit allowed: too large","ext_code":"","ext_info":"","result":null,"time_now":"1664262694.550757","rate_limit_status":93,"rate_limit_reset_ms":1664262694549,"rate_limit":100}
According to Bybit API doc:
130006
order qty is out of permissible range
If I understand right we need to raise the contract risk limit. Seems there is a manual maximum limit to set on bybit exchange.
Is there any way to achieve this with ccxt ?

Related

Unable to increase quota

The default daily quota limit is inadequate to properly use the https://www.googleapis.com/youtube/v3/liveChat/messages endpoint. A query that returns you the necessary information costs about 8 units, and you get 10,000 units per day. Even if you're only querying for new messages every few seconds, that's barely enough for an hour.
I tried to increase the quota limit, but it appears that the form to do this doesn't work:
https://support.google.com/youtube/contact/yt_api_form?hl=en
It simply gives me "There were problems sending your form. Please try again."

Best Buy API call limits

what is BestBuy API call limit for the product details? How many calls per hour/day ?
The default call limits for approved accounts is 5 queries per second/50,000 queries per day. If you surpass these limits, you will receive a 429 error code with an error response stating quota limit exceeded.
Just for anyone who runs across this question the error code has changed to 403. Source: https://bestbuyapis.github.io/api-documentation/#errors
The default call limits for approved accounts is 5 queries per second or 50,000 queries per day. If you go pass this limits, you will receive an error code with an error response saying that you have exceeded the quota limit. The error code number is 429.

What is the limit of messages per second using quickblox as my backend?

Also, say I am in a group of 1000 people, and I send a message - does that equal to 1000 messages? As the server needs to send a message to each participant.
You can find the limit for number of messages per second depending on plan here: http://quickblox.com/plans/
As for "does hat equal to 1000 messages?" - it depends on the code (plartform) you are using.

What is the maximum permitted response data size?

In the API Docs section Browsing Table Data, there is a reference to the "permitted response data size"; however, that link is dead. Experimentation revealed that requests with maxResults=50000 are usually successful, but as I near maxResults=100000 I begin to get errors from the BigQuery server.
This is happening while I page through a large table (or set of query results), so after each page is received, I request the next one; it thus doesn't matter to me what the page size is, but it does affect the communication with BigQuery.
What is the optimal value for this parameter?
Here is some explanations: https://developers.google.com/bigquery/docs/reference/v2/jobs/query?hl=en
The maximum number of rows of data to return per page of results. Setting this flag to a small value such as 1000 and then paging through results might improve reliability when the query result set is large. In addition to this limit, responses are also limited to 10 MB. By default, there is no maximum row count, and only the byte limit applies.
To sum up: max size is 10MB, no row count limit.
You can choose value of maxResult parameter based on your usage of app.
If you want show data on the report, then you need to set low value for fast showing first page.
If you need to load data to other app, then you can use max possible value (record size * row count < 10MB).
As you say, you manually set maxResults = 100000 to page through result set, it will get errors from BigQuery server. What errors you will get? Could you paste the error message?

Max number of rows that can be fetched using WCF

How many rows can I fetch using WCF service ? Is there a upper limit to the number of rows that can be returned using WCF service ?
There isnt an upper limit, if you need more then what is availabe at the time, you need to change the limit in the response, the default is 65536
modify the web.config file to change this
http://msdn.microsoft.com/en-us/library/ms734663.aspx