Lu-Yi-Hsun / iqoptionapi

IQ Option API
372 stars 289 forks source link

Use balance to keep position open. #58

Open mymggithub opened 5 years ago

mymggithub commented 5 years ago

Hiya @Lu-Yi-Hsun,

I noticed in

I_want_money.change_order(buy_order_id,stop_lose_price,take_profit_price,use_trail_stop)

You had use_trail_stop which is "Trailing stop", and I was woundering if there was "Use balance to keep position open" setting? image

Lu-Yi-Hsun commented 5 years ago

yes

mymggithub commented 5 years ago

Could you please tell me where that is? Thank you.

Lu-Yi-Hsun commented 5 years ago

@mymggithub

sorry my bad

NO "Use balance to keep position open"

in the low level api about ""change_order"" https://github.com/Lu-Yi-Hsun/iqoptionapi/blob/27b8863b4795f0d564215e78e3fe78611fc09022/iqoptionapi/ws/chanels/change_tpsl.py#L9-L22 NO "Use balance to keep position open"

mymggithub commented 5 years ago

oh, ok QQ thanks.

mymggithub commented 5 years ago

@Lu-Yi-Hsun Is there anyway you can add it, please?

Lu-Yi-Hsun commented 5 years ago

I will try to add that

mymggithub commented 5 years ago

Thank you @Lu-Yi-Hsun!

Lu-Yi-Hsun commented 5 years ago

@mymggithub sorry wait for long time in last version 3.6. i implement fully support FOREX and it have "Trailing stop" in last version