Jimmy-sha256 / SimpleFX_REST_API

This is a python wrapper to connect to SimpleFX's REST API
2 stars 0 forks source link

Hardcoded options in adjust_tp #1

Closed nopium closed 1 year ago

nopium commented 2 years ago

Hi! Thanks for the api - it works nice except adjust_tp:

I believe options = { "Login":572389, "Reality":"DEMO", "Id":order_id, "TakeProfit":tp } Should be options = { "Login":self.account, "Reality":self.reality, "Id":order_id, "TakeProfit":tp }

Jimmy-sha256 commented 1 year ago

Thanks for pointing this out.