fidelity-api 0.0.3__tar.gz → 0.0.4__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fidelity-api
3
- Version: 0.0.3
3
+ Version: 0.0.4
4
4
  Summary: An unofficial API for Fidelity
5
5
  Home-page: https://github.com/kennyboy106/fidelity-api
6
6
  Author: Kenneth Tang
@@ -1057,6 +1057,7 @@ class FidelityAutomation:
1057
1057
  available_balance = float(available_balance.replace("$", "").replace(",", ""))
1058
1058
 
1059
1059
  # Check if there's enough balance
1060
+ transfer_amount = round(transfer_amount, 2)
1060
1061
  if transfer_amount > available_balance:
1061
1062
  print(f"Insufficient funds. Available: ${available_balance}, Attempted transfer: ${transfer_amount}")
1062
1063
  return False
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fidelity-api
3
- Version: 0.0.3
3
+ Version: 0.0.4
4
4
  Summary: An unofficial API for Fidelity
5
5
  Home-page: https://github.com/kennyboy106/fidelity-api
6
6
  Author: Kenneth Tang
@@ -5,7 +5,7 @@ with open("README.md", "r") as f:
5
5
 
6
6
  setup(
7
7
  name="fidelity-api",
8
- version="0.0.3",
8
+ version="0.0.4",
9
9
  author="Kenneth Tang",
10
10
  description="An unofficial API for Fidelity",
11
11
  long_description=long_description,
File without changes
File without changes
File without changes