Hi i'm struggling to create a LIMIT order using IG API, can you help please? thanks a lot!
Here are the codes (d = 'BUY', lvl = 11475, size = 1)
ig_service.create_open_position(
currency_code='GBP',
direction=d,
epic = product,
order_type='LIMIT',
expiry='DFB',
force_open='false',
guaranteed_stop='false',
size=abs(size), level=lvl,
limit_distance=None,
limit_level=None,
quote_id=None,
stop_level=None,
stop_distance=None,
trailing_stop=None,
trailing_stop_increment=None)