Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating api.contract and buying is too slow #69

Open
iitsuraj opened this issue Oct 5, 2021 · 0 comments
Open

Creating api.contract and buying is too slow #69

iitsuraj opened this issue Oct 5, 2021 · 0 comments

Comments

@iitsuraj
Copy link

iitsuraj commented Oct 5, 2021

Creating api.contract and buying it take 3-7 sec. How can I reduce that time?

Code -

`...
const contract = await api.contract({...});

contract.onUpdate(async ({status}) => {...
})

const buy = await contract.buy();
...
`

Log -

[19:06:24:756] [10/5/2021] $ {1} frxAUDJPY $939 5M CALL Create order
[19:06:35:599] [10/5/2021] $ {138614057128} frxAUDJPY 5M $939 Order Opend
[19:11:32:167] [10/5/2021] $ {138614057128 LOSS}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant