I was hoping you could help with the following:
- when I use
the grossPL won’t update when I rerun the function, as far as i understand grossPL is the current profit and loss of the position, not sure why this is not updating?
- the “time” part when I run con.get_open_positions().T is giving me a large number. I thought it was unix time and tried to convert it.
import datetime as dt
time = 11092018192639
when I run it will give
OSError: [Errno 22] Invalid argument
I’m getting this error as the number is too large. I would like to get the exact date and time for when the position was opened
how to update a stoploss for a pricelevel? not just the amount of pips.
I would want to be able to create orders for the market open at night. is there any functionality for this?