fremantle-industries / ex_ftx

FTX API Client for Elixir
MIT License
6 stars 15 forks source link

Sub account requests #20

Open RaghavSood opened 3 years ago

RaghavSood commented 3 years ago

Thanks for the library!

I'm looking at using Tai for some projects, but FTX sub accounts don't seem to be supported by ex_ftx, which is relied upon by Tai.

Are there any plans to introduce basic sub account support? As far as I can tell, setting the FTX-SUBACCOUNT header is sufficient to get most APIs working with subaccounts, even before adding full support for creating/managing the accounts themselves.

rupurt commented 3 years ago

Hey @RaghavSood,

For sure. I just haven't got around to it yet. I should have some time next week to investigate and come up with a plan for sub account support in tai.

RaghavSood commented 3 years ago

Appreciate it!

I'm probably going to take a stab at it later today for both ex_ftx and the websocket messages in Tai, will make a PR if I can get it working to a reasonable degree

rupurt commented 3 years ago

Oh dope. That would be super useful even as a starting point :fist_right: