Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DVampire/FinAgent
/ value
Function
value
finagent/trajectory/dynamic_programming.py:92–93 ·
view source on GitHub ↗
(cash, position, price)
Source
from the content-addressed store, hash-verified
90
return
cash, position
91
92
def
value(cash, position, price):
93
return
cash + position * price
94
95
96
def
max_profit_with_actions(prices, cash, fee_ratio):
Callers
1
max_profit_with_actions
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected