Is there some way for robots to access trading history?
Is there some way for robots to access trading history?
11 Jun 2013, 11:00
Unfortunately, I didn't see any way to access trading history through the API.
Meanwhile, this could be a problem if positions are long-living and an account frequenly gets deposits/withdrawals. In this situation robot needs to know whether it should partially close existing positions or maybe open some more to maintain the same risk level.
In order to do so robot should have some means of distinguishing whether current equity change was caused by trading activity or just by some deposits/withdrawals.
Please tell if something like that already exists, and if not maybe you'll add such feature in future. It will be extremely helpful if cAlgo is to be implemented with some money management services.
Thank you.
cAlgo_Fanatic
11 Jun 2013, 11:49
Access to historical orders will be added in the future. Thank you for your feedback.
@cAlgo_Fanatic