Title: Using batch orders fails a lot due to "BORROW_FAILED" when done in quick succession · Issue #176 · gateio/gateapi-python · GitHub
Open Graph Title: Using batch orders fails a lot due to "BORROW_FAILED" when done in quick succession · Issue #176 · gateio/gateapi-python
X Title: Using batch orders fails a lot due to "BORROW_FAILED" when done in quick succession · Issue #176 · gateio/gateapi-python
Description: I'm having an issue when using batch orders every 1 second for 4 different coins. the first batch order always works without issues. When i try to make the second one usually all the trades fail or sometimes ones goes through. And for ev...
Open Graph Description: I'm having an issue when using batch orders every 1 second for 4 different coins. the first batch order always works without issues. When i try to make the second one usually all the trades fail or...
X Description: I'm having an issue when using batch orders every 1 second for 4 different coins. the first batch order always works without issues. When i try to make the second one usually all the trades fai...
Opengraph URL: https://github.com/gateio/gateapi-python/issues/176
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Using batch orders fails a lot due to \"BORROW_FAILED\" when done in quick succession","articleBody":"I'm having an issue when using batch orders every 1 second for 4 different coins.\n\nthe first batch order always works without issues. When i try to make the second one usually all the trades fail or sometimes ones goes through. And for every trade after this keeps happening, most of the batch orders fail always to the same error.\n\nThe error that appears on the response is always 'label': 'BORROW_FAILED' and 'message': 'Failed to borrow',\n\nI have more than enough funds to make this trade.\n\nIs there a limit on the API itself that doesn't allow me to make batch orders in such quick succession? I've been reading the documentation about the api and didn't find any limitation, And if there was, i would assume it would give a different error.\n\nSo I'm assuming there could be something off with the implementation of the lib itself.\n\nIf any more logs or help replicating help let me know.","author":{"url":"https://github.com/Tidalikk","@type":"Person","name":"Tidalikk"},"datePublished":"2025-03-07T11:45:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/176/gateapi-python/issues/176"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0814f186-3925-ac37-2e31-483dd22898e5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DFDA:A3CA0:33FFD:41868:698FE96A |
| html-safe-nonce | a02c6e21129860fa240bb5589bd1ad5662bc836ce124f2bbfb62366619647e40 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERkRBOkEzQ0EwOjMzRkZEOjQxODY4OjY5OEZFOTZBIiwidmlzaXRvcl9pZCI6Ijg5OTk3MjExNTE1MTQwMTIwMTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6d20877f04b7287cd6bb64bc996d90949e6791fa3e03122359c64d053e1f1e13 |
| hovercard-subject-tag | issue:2902784860 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/gateio/gateapi-python/176/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2414921f88f8a2352287440f026a27eb5ba2bfbc60034d39967ae2899d3b0c8f/gateio/gateapi-python/issues/176 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2414921f88f8a2352287440f026a27eb5ba2bfbc60034d39967ae2899d3b0c8f/gateio/gateapi-python/issues/176 |
| og:image:alt | I'm having an issue when using batch orders every 1 second for 4 different coins. the first batch order always works without issues. When i try to make the second one usually all the trades fail or... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Tidalikk |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/gateio/gateapi-python git https://github.com/gateio/gateapi-python.git |
| octolytics-dimension-user_id | 32661171 |
| octolytics-dimension-user_login | gateio |
| octolytics-dimension-repository_id | 163492316 |
| octolytics-dimension-repository_nwo | gateio/gateapi-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 163492316 |
| octolytics-dimension-repository_network_root_nwo | gateio/gateapi-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width