Open grzesir opened 1 year ago
Yes, I'll be working on this soon. Prob ~2 weeks I'll have those examples and more.
Is there some way I can access this sooner? We have a project that needs to be completely finished in 2 weeks and would prefer to not have to use requests.
Any sample code you could share now would be very useful. Just need to connect, get account info, positions and place trades. I can look through the code to find details if needed and I’d be happy to help you with the docs.
On Sat, Nov 12, 2022 at 6:41 PM Antonio Hickey @.***> wrote:
Yes, I'll be working on this soon. Prob ~2 weeks I'll have those examples and more.
— Reply to this email directly, view it on GitHub https://github.com/antonio-hickey/TradovatePy/issues/3#issuecomment-1312597349, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIYQK3MBTFXJEWU4ECFAXLWIATJRANCNFSM6AAAAAAR5BO7OQ . You are receiving this because you authored the thread.Message ID: @.***>
-- Robert Grzesik 347-635-3416
Going to be at least 4 days. I haven't used Tradovate in a few months, but I just transferred in the minimum for API Access waiting for it to clear. I don't have any examples on hand as I bricked the machine I was building this on.
I can't test right now as I fail to connect without API Access, but I feel like getting your positions would work roughly something like this:
pip install -r requirements.txt
# a new file at root of the repo, ex: 'application.py'
import asyncio
from TradovatePy.models.session import Session
from TradovatePy.positions import Positions
if __name__ == "__main__":
session = Session(
"LIVE",
"YOUR_USERNAME",
"YOUR_PASSWORD",
"YOUR_SECRET_KEY",
"YOUR_DEVICE_ID",
"YOUR_APP_VERSION",
"YOUR_APP_ID",
123, # YOUR CID
)
print(
asyncio.run(Positions(session).position_list())
)
then run that new python file, sorry I will be working on this project again soon.
oh it's also worth mentioning that since this project isn't finished you will have to build from source instead of installing using pip, just clone the repo via git clone https://github.com/antonio-hickey/TradovatePy.git
Ok thank you! This is extremely helpful!
On Sun, Nov 13, 2022 at 9:43 AM Antonio Hickey @.***> wrote:
oh it's also worth mentioning that since this project isn't finished you will have to build from source instead of installing using pip, just clone the repo via git clone https://github.com/antonio-hickey/TradovatePy.git
— Reply to this email directly, view it on GitHub https://github.com/antonio-hickey/TradovatePy/issues/3#issuecomment-1312747278, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIYQK4L7H3DE3KPNIBZQCLWID5CNANCNFSM6AAAAAAR5BO7OQ . You are receiving this because you authored the thread.Message ID: @.***>
-- Robert Grzesik 347-635-3416
So I guess the rules around the API have changed since this project was started, now we have to register with CME and pay them $390 a month + tradovate's monthly API subscription.
I will no longer be maintaining this project, but I'll keep it up as an archive and try to help with any pre-existing code.
Where do you see this? We have clients using tradovate and I’ve never heard of a $390/mo fee
On Tue, Nov 15, 2022 at 7:03 PM Antonio Hickey @.***> wrote:
So I guess the rules around the API have changed since this project was started, now we have to register with CME and pay them $390 a month + tradovate's monthly API subscription.
I will no longer be maintaining this project, but I'll keep it up as an archive and try to help with any pre-existing code.
— Reply to this email directly, view it on GitHub https://github.com/antonio-hickey/TradovatePy/issues/3#issuecomment-1316056768, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIYQKYSEU2MW4ZHFZ2QWHLWIQQDZANCNFSM6AAAAAAR5BO7OQ . You are receiving this because you authored the thread.Message ID: @.***>
-- Robert Grzesik 347-635-3416
They even have a $0/mo plan.
On Wed, Nov 16, 2022 at 2:49 PM Robert Grzesik @.***> wrote:
Where do you see this? We have clients using tradovate and I’ve never heard of a $390/mo fee
On Tue, Nov 15, 2022 at 7:03 PM Antonio Hickey @.***> wrote:
So I guess the rules around the API have changed since this project was started, now we have to register with CME and pay them $390 a month + tradovate's monthly API subscription.
I will no longer be maintaining this project, but I'll keep it up as an archive and try to help with any pre-existing code.
— Reply to this email directly, view it on GitHub https://github.com/antonio-hickey/TradovatePy/issues/3#issuecomment-1316056768, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIYQKYSEU2MW4ZHFZ2QWHLWIQQDZANCNFSM6AAAAAAR5BO7OQ . You are receiving this because you authored the thread.Message ID: @.***>
-- Robert Grzesik 347-635-3416
-- Robert Grzesik 347-635-3416
For API Access, to have an account is free. The Tradovate API Subscription cost $25/mo + you have to register with CME for Non Display Category A license which is $390/mo.
This is a recent change in how it works, was previously just a $25/mo fee to Tradovate.
Could you please point me to where it says this? I can’t seem to find it anywhere on their website.
On Wed, Nov 16, 2022 at 2:57 PM Antonio Hickey @.***> wrote:
For API Access, to have an account is free. The Tradovate API Subscription cost $25/mo + you have to register with CME for Non Display Category A license which is $390/mo.
This is a recent change in how it works, was previously just a $25/mo fee to Tradovate.
— Reply to this email directly, view it on GitHub https://github.com/antonio-hickey/TradovatePy/issues/3#issuecomment-1317592907, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIYQK46O2OHUOWCMY2I3ODWIU4CVANCNFSM6AAAAAAR5BO7OQ . You are receiving this because you authored the thread.Message ID: @.***>
-- Robert Grzesik 347-635-3416
They don't mention it because it's not attractive to their retail customer base, I had to find out via talking to support.
Just to make sure we're on the same page I'm solely talking about API, and NOT just a basic account.
It's $25/mo for access to their API, and $390/mo for User Non-Display Category A
to CME (https://www.cmegroup.com/files/download/cme-market-data-fee-list-jan-2022.pdf)
I'll start uploading documentation and examples for all existing code this weekend and fix the SSL bug, I have not paid the $390 monthly fee to CME, so I'll only be maintaining what I actually have access to and can test.
Can you please add a working example of how to connect to tradeovate, get your account balances/positions and place a trade?
I'd be happy to contribute to this library/documentation but I just need to know how to get started.