Skip to content

[Command] /exchange #65

Description

@Brbb

Set the base exchange currency for the signals.

Implementation

A menu button will offer a list of base currencies
['BTC','USD','ETH'] and the possibility to set one or more of them and receive signals like XZZ/BTC and XZZ/ETH for the same coin.

A command will allow users to make it inline setting a comma separated list:

/exchange BTC,ETH

In both cases there will be a POST request:

POST api/user
{
    chat_id:1234,
    counter_currencies: [{'BTC':true},{'ETH':false}]
}

The expected format return format:

{  
   "risk":"medium",
   "is_ITT_team":true,
   "beta_token_valid":true,
   "horizon":"medium",
   "is_subscribed":true,
   "is_muted":false,
   "quota_currencies":[  
      "USD",
      "ETH"
   ],
"altcoins":[  
      "XRP",
      "OMG"
   ]
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions