Buy Contract - Error
Hello, i'm calling directly the Buy Contract without any Proposal.
so therefore i assume that i don't need the "delay difference between proposal and buy contract" so i don't have to put the ask_price inside the price field.
so when i simply call just the buy contract without proposal i can go straight with the market price which is price = 0 according to the websocket api description here = "Maximum price at which to purchase the contract, or '0' for 'buy at market'
but somehow i still get the "The underlying market has moved too much since you priced the contract" error.
i understand that for a buy contract + proposal setup u need to fill the price to the according ask_price because websockets take some time and you are calling 2 calls to make just a buy contract.
please clarify me what the hell should i put in the price field to call a buy contract without a proposal. i appreciated some dev answers who actually understand how their api works instead the "triers that tried different values from random numbers to amount and other things".
PS: i have experience with websockets if you need a dev to fix that problems i'm open.
Comments
Hello. In price just put same as amount.
Regards
Thank you Tarja i have done so it works now ...
Hi tarja....can you tell me, what the code,,especially in VB for this, ..thanks