fere-sdk 0.5.0.dev39__tar.gz → 0.5.0.dev43__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,6 +15,11 @@ __pycache__
15
15
  # Bruno gateway collection (GATEWAY_AGENT_ID / GATEWAY_PRIVATE_KEY_B64)
16
16
  bruno_specs/gateway-service/.env
17
17
 
18
+ # Gateway k6 load tests (secrets + local output from make setup)
19
+ devops/loadtests/k6/.env.local
20
+ devops/loadtests/k6/users.csv
21
+ devops/loadtests/k6/results/
22
+
18
23
  # Git worktrees
19
24
  .worktrees/
20
25
 
@@ -44,6 +49,7 @@ dev/logs/*
44
49
 
45
50
  # Cursor SEO skill — regenerated report JSON (not source)
46
51
  .cursor/skills/seo-agent/artifacts/
52
+ .claude/skills/seo-agent/artifacts/
47
53
  .cursor/skills/docker-images-cve-scan/artifacts/
48
54
  docs/plans/artifacts/
49
55
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fere-sdk
3
- Version: 0.5.0.dev39
3
+ Version: 0.5.0.dev43
4
4
  Summary: Python SDK for the FereAI Gateway API
5
5
  Author-email: Fere AI <info@fere.ai>
6
6
  License-Expression: MIT
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "fere-sdk"
3
- version = "0.5.0.dev39"
3
+ version = "0.5.0.dev43"
4
4
  description = "Python SDK for the FereAI Gateway API"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -37,7 +37,7 @@ from .models import (
37
37
  WithdrawRequest,
38
38
  )
39
39
 
40
- DEFAULT_TIMEOUT = 120
40
+ DEFAULT_TIMEOUT = 100
41
41
 
42
42
 
43
43
  class ToolsClient:
@@ -458,7 +458,9 @@ class FereClient:
458
458
  sl_price=sl_price,
459
459
  size=size,
460
460
  )
461
- return await self._api.spot_hl_set_tp_sl(req, wait=True, timeout=timeout)
461
+ return await self._api.spot_hl_set_tp_sl(
462
+ req, wait=True, timeout=timeout
463
+ )
462
464
 
463
465
  async def spot_hl_cancel_order(
464
466
  self,
@@ -59,7 +59,7 @@ class FereAPI:
59
59
  agent_name: str = "fere-sdk",
60
60
  base_url: str = DEFAULT_BASE_URL,
61
61
  key_path: str | None = None,
62
- timeout: int = 120,
62
+ timeout: int = 100,
63
63
  bearer_token: str | None = None,
64
64
  ) -> None:
65
65
  self.base_url = base_url.rstrip("/")
@@ -76,7 +76,7 @@ class FereAPI:
76
76
  cls,
77
77
  token: str,
78
78
  base_url: str = DEFAULT_BASE_URL,
79
- timeout: int = 120,
79
+ timeout: int = 100,
80
80
  ) -> FereAPI:
81
81
  """Create a low-level client from an existing bearer token."""
82
82
  return cls(
@@ -452,7 +452,7 @@ class FereAPI:
452
452
  self,
453
453
  force_rerun: bool = False,
454
454
  wait: bool = False,
455
- timeout: int = 120,
455
+ timeout: int = 100,
456
456
  ) -> TaskResponse | dict:
457
457
  """POST /v1/perp/setup"""
458
458
  return await self._perp_task(
@@ -463,7 +463,7 @@ class FereAPI:
463
463
  self,
464
464
  request: PerpOpenRequest,
465
465
  wait: bool = False,
466
- timeout: int = 120,
466
+ timeout: int = 100,
467
467
  ) -> TaskResponse | dict:
468
468
  """POST /v1/perp/open"""
469
469
  return await self._perp_task(
@@ -474,7 +474,7 @@ class FereAPI:
474
474
  self,
475
475
  request: PerpCloseRequest,
476
476
  wait: bool = False,
477
- timeout: int = 120,
477
+ timeout: int = 100,
478
478
  ) -> TaskResponse | dict:
479
479
  """POST /v1/perp/close"""
480
480
  return await self._perp_task(
@@ -485,7 +485,7 @@ class FereAPI:
485
485
  self,
486
486
  request: PerpCancelRequest,
487
487
  wait: bool = False,
488
- timeout: int = 120,
488
+ timeout: int = 100,
489
489
  ) -> TaskResponse | dict:
490
490
  """POST /v1/perp/orders/cancel"""
491
491
  return await self._perp_task(
@@ -496,7 +496,7 @@ class FereAPI:
496
496
  self,
497
497
  request: PerpFundRequest,
498
498
  wait: bool = False,
499
- timeout: int = 120,
499
+ timeout: int = 100,
500
500
  ) -> TaskResponse | dict:
501
501
  """POST /v1/perp/fund"""
502
502
  return await self._perp_task(
@@ -507,7 +507,7 @@ class FereAPI:
507
507
  self,
508
508
  request: PerpWithdrawRequest,
509
509
  wait: bool = False,
510
- timeout: int = 120,
510
+ timeout: int = 100,
511
511
  ) -> TaskResponse | dict:
512
512
  """POST /v1/perp/withdraw"""
513
513
  return await self._perp_task(
@@ -533,7 +533,7 @@ class FereAPI:
533
533
  self,
534
534
  request: SpotBuyRequest,
535
535
  wait: bool = False,
536
- timeout: int = 120,
536
+ timeout: int = 100,
537
537
  ) -> TaskResponse | dict:
538
538
  """POST /v1/spot/buy"""
539
539
  return await self._perp_task(
@@ -544,7 +544,7 @@ class FereAPI:
544
544
  self,
545
545
  request: SpotSellRequest,
546
546
  wait: bool = False,
547
- timeout: int = 120,
547
+ timeout: int = 100,
548
548
  ) -> TaskResponse | dict:
549
549
  """POST /v1/spot/sell"""
550
550
  return await self._perp_task(
@@ -555,7 +555,7 @@ class FereAPI:
555
555
  self,
556
556
  request: SpotTpSlRequest,
557
557
  wait: bool = False,
558
- timeout: int = 120,
558
+ timeout: int = 100,
559
559
  ) -> TaskResponse | dict:
560
560
  """POST /v1/spot/tp-sl"""
561
561
  return await self._perp_task(
@@ -566,7 +566,7 @@ class FereAPI:
566
566
  self,
567
567
  request: SpotCancelRequest,
568
568
  wait: bool = False,
569
- timeout: int = 120,
569
+ timeout: int = 100,
570
570
  ) -> TaskResponse | dict:
571
571
  """POST /v1/spot/orders/cancel"""
572
572
  return await self._perp_task(
File without changes