Forum

Lot Size Representing percentage of margin over balance

Say I want to open a position and I want to know what lot size I would need so that the margin takes up a certain percentage of the balance. If the balance were $10000, and I wanted a margin of 6%, or $600, how to determine the lot size that I would need to accomplish this

MT4 Demo Account Not working correctly when using Python

Hi, I am new to forex trading and MT4 and was trying to write a python script using oandapyV20. I executed the trades and they showed up on the journal tab but the orders do not show up in the trade tab and the balance never changes in the trade tab or when accessing it via python. However