robswc / tradingview-webhooks-bot

a framework 🏗 for trading with tradingview webhooks!
http://tvwb.robswc.me
GNU General Public License v3.0
591 stars 180 forks source link

I checked ccxt predefined Brokers, all for Crypto. I will try out if it will still work for Ampfutures, a Question! #22

Open MahanMwastaken opened 3 years ago

MahanMwastaken commented 3 years ago

Before reading, thank you for your time and distributing this Princess to the Community!!!!! <<<<3333 If the Exchange I need is not supported for "exchange=" in action.py, what do I do? I can't find the ccxt Module itself and try to add another API

MahanMwastaken commented 3 years ago

I am reading the Manual, it seems I'm ducked

robswc commented 3 years ago

hey! You would have to see if ccxt supports the exchange, I don't think they would in this case... which means you would have to create the API wrapper yourself.

i.e. look into if AMPFutures has API access and how that would work with python.

https://www.ampfutures.com/platforms/cqg-api/

This is all I could find, which might not be enough unfortunately

MahanMwastaken commented 3 years ago

Thank you for your Time, I will try myself and post Progress here

robswc commented 3 years ago

sounds good!

MahanMwastaken commented 3 years ago

Hey! Could you please give me a Direction to continue my Research? I tried to find "Inspiration" on the CCXT Module and check how they link the APIs and the CGC API, but I am missing Structure. I don't know what the right steps are to continue finishing this.

MahanMwastaken commented 3 years ago

for the CGC API*

robswc commented 3 years ago

Looking at it, it might not be possible I'm afraid. I would try contacting AMPFutures and asking them if there is a simple API available for placing orders. See where they direct you :)