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

[Command] /exchange #65

Open
Brbb opened this issue Nov 22, 2017 · 0 comments
Open

[Command] /exchange #65

Brbb opened this issue Nov 22, 2017 · 0 comments

Comments

@Brbb
Copy link
Contributor

Brbb commented Nov 22, 2017

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"
   ]
}
@Brbb Brbb self-assigned this Nov 22, 2017
@Brbb Brbb changed the title [Command] Exchange [Command] /exchange Nov 22, 2017
@Brbb Brbb added to do and removed in progress labels Dec 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants