total()
About
FedPy.SOMA().total()
1
This command takes no parameters, and is for aggregating the value of all types of securities held the SOMA portfolio, returning a float
.
Example use
import FedPy
soma_total = FedPy.SOMA().total()
print(soma_total)
1
2
3
4
2
3
4
Output:
7996833535330.9
1