equity curve builder api working