You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to trade a system that uses entry orders and not market orders. I therefore want to be able to add, delete and monitor entry orders (stop and limit orders) via python-forexconnect. I can´t seem to find a function for that.
I am not an educated programmer but I use python extensively. Can you lead me through the steps how I can add new functions and tell me which files in the library have to be modified etc? The reason I ask, is that I have been modifying some functions in python-forexconnect, i.e. add UsedMargin into function "client.get_trades()" by changing "ForexConnectClient.cpp", "ForexConnectClient.h.in", "pyforexconnect.cpp" but the modified function doesn´t return UsedMargin. Either my programming is bad or it is not that simple to modify functions. So I turn myself to you for some guidance.
Cheers, gunnvidd
The text was updated successfully, but these errors were encountered:
Hi gunnvidd.
I'm sorry to reply late and thank you for trying improvement.
When I implement new function, first I check c++ example.
If you downloaded forexconnect api, you find some example on ForexconnectApi/samples/cpp.
I think you try to use TableManagerSamples/CreateEntry or ...
You can compare the sample code and ForexConnectClient::openPosition.
Do you fork this repository? I can also advice for it.
Thank you.
Hi neka-nat and other contributors
Great project by the way,
I would like to trade a system that uses entry orders and not market orders. I therefore want to be able to add, delete and monitor entry orders (stop and limit orders) via python-forexconnect. I can´t seem to find a function for that.
I am not an educated programmer but I use python extensively. Can you lead me through the steps how I can add new functions and tell me which files in the library have to be modified etc? The reason I ask, is that I have been modifying some functions in python-forexconnect, i.e. add UsedMargin into function "client.get_trades()" by changing "ForexConnectClient.cpp", "ForexConnectClient.h.in", "pyforexconnect.cpp" but the modified function doesn´t return UsedMargin. Either my programming is bad or it is not that simple to modify functions. So I turn myself to you for some guidance.
Cheers, gunnvidd
The text was updated successfully, but these errors were encountered: