Is martigale sent as a parameter on the endpoint or is martigale a multiplication of the price?
string parameters = " \"parameters\": { \"amount\": 10, \"basis\": \"stake\", \"contract_type\": \"CALL\", \"currency\": \"USD\", \"duration\": 1, \"duration_unit\": \"m\", \"symbol\": \"R_10\" }}";
string data = "{\"buy\": 1, \"subscribe\": 1, \"price\": 10," + parameters;
Language C#
At the endpoint above what is the martingale parameter.
Or the martingale is the price multiplication (price* 2)
I'm in doubt because I'm doing the multiplication and I'm not succeeding.
I'm waiting
Tagged:
Comments
@luizchequini there is no martingale parameter built into the API that is something you would need to calculate in your code and then purchase a contract with the matching parameters.