Step 7 - Dollar Cost Average
Last updated
Last updated
As you may already know, Dollar Cost Average (DCA) is the possibilitรฉ pour the User to program their investment.
For instance, they will be able to buy a certain amount of the token of their choice on a regular basis (daily, weekly or monthly).
1 - The following endpoints, allows you to create a new DCA by specifying the original token, the destination token, the frequency of the transactions:
OAuth : user_auth
2 - The following endpoint, allows you to consult the active DCAs on an AccountId:
OAuth : user_auth
3 - Finally, this endpoint will give you the possibility to activate/deactivate a DCA:
OAuth : user_auth
/v1/dca
/v1/dca
/v1/dca/{id}//{status}
ACTIVE
, INACTIVE