FutunnOpen / py-futu-api

富途 OpenAPI Python SDK
Apache License 2.0
1.03k stars 221 forks source link

Demo account and demo api keys/secrets I am using c++ #183

Open dimensionblockchain opened 6 days ago

byblehua commented 4 days ago
image

You can change the programe language on the right top. https://openapi.futunn.com/futu-api-doc/en/intro/intro.html

dimensionblockchain commented 4 days ago

THANK YOU! opend says i am only able to use the Hong Kong exchange can you open auth for US markets? I decided to use windows/python instead. 72117326 User Quota Used Subscription Quota: 0/100 Used Historical Candlestick Quota: 0/100 Quote Right HK Securities: BMP Options: LV1 Futures: LV1 US Securities: No Authority Indices: No Authority Options: No Authority CME: No Authority CBOT: No Authority NYMEX: No Authority COMEX: No Authority CBOE: No Authority OTC: No Authority A-Share SSE: No Authority SZSE: No Authority SG Futures: No Authority JP Futures: No Authority

On Sun, Nov 10, 2024 at 7:20 PM byblehua @.***> wrote:

image.png (view on web) https://github.com/user-attachments/assets/830e3b28-aafb-491d-939b-0fdcf9233d8f You can change the programe language on the right top. https://openapi.futunn.com/futu-api-doc/en/intro/intro.html

— Reply to this email directly, view it on GitHub https://github.com/FutunnOpen/py-futu-api/issues/183#issuecomment-2467103722, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZV73AQLK7XAUWD4CWXBL4T2AAH63AVCNFSM6AAAAABROWDTCSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRXGEYDGNZSGI . You are receiving this because you authored the thread.Message ID: @.***>

dimensionblockchain commented 4 days ago

if not that ok, I can trade HK ETFs correct? Futures it says no auth, I like Futures, if you could open that I would be happy, and if not I am ok with HK securities if I can trade ETFs too. Please describe the quota 0/100 what does that mean?

On Sun, Nov 10, 2024 at 7:38 PM Scott Baker @.***> wrote:

THANK YOU! opend says i am only able to use the Hong Kong exchange can you open auth for US markets? I decided to use windows/python instead. 72117326 User Quota Used Subscription Quota: 0/100 Used Historical Candlestick Quota: 0/100 Quote Right HK Securities: BMP Options: LV1 Futures: LV1 US Securities: No Authority Indices: No Authority Options: No Authority CME: No Authority CBOT: No Authority NYMEX: No Authority COMEX: No Authority CBOE: No Authority OTC: No Authority A-Share SSE: No Authority SZSE: No Authority SG Futures: No Authority JP Futures: No Authority

On Sun, Nov 10, 2024 at 7:20 PM byblehua @.***> wrote:

image.png (view on web) https://github.com/user-attachments/assets/830e3b28-aafb-491d-939b-0fdcf9233d8f You can change the programe language on the right top. https://openapi.futunn.com/futu-api-doc/en/intro/intro.html

— Reply to this email directly, view it on GitHub https://github.com/FutunnOpen/py-futu-api/issues/183#issuecomment-2467103722, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZV73AQLK7XAUWD4CWXBL4T2AAH63AVCNFSM6AAAAABROWDTCSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRXGEYDGNZSGI . You are receiving this because you authored the thread.Message ID: @.***>

byblehua commented 4 days ago

THANK YOU! opend says i am only able to use the Hong Kong exchange can you open auth for US markets? I decided to use windows/python instead. 72117326 User Quota Used Subscription Quota: 0/100 Used Historical Candlestick Quota: 0/100 Quote Right HK Securities: BMP Options: LV1 Futures: LV1 US Securities: No Authority Indices: No Authority Options: No Authority CME: No Authority CBOT: No Authority NYMEX: No Authority COMEX: No Authority CBOE: No Authority OTC: No Authority A-Share SSE: No Authority SZSE: No Authority SG Futures: No Authority JP Futures: No Authority On Sun, Nov 10, 2024 at 7:20 PM byblehua @.> wrote: image.png (view on web) https://github.com/user-attachments/assets/830e3b28-aafb-491d-939b-0fdcf9233d8f You can change the programe language on the right top. https://openapi.futunn.com/futu-api-doc/en/intro/intro.html — Reply to this email directly, view it on GitHub <#183 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZV73AQLK7XAUWD4CWXBL4T2AAH63AVCNFSM6AAAAABROWDTCSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRXGEYDGNZSGI . You are receiving this because you authored the thread.Message ID: @.>


The market permissions shown here are for you. If you don't have them, you need to purchase them. These do not require our authorization. Please check the instructions here.https://openapi.moomoo.com/moomoo-api-doc/en/intro/authority.html#5331-2

byblehua commented 4 days ago

If you are an US User, you can trade these categories:

image
byblehua commented 4 days ago

Subscription Quota: 0/100

It means You can subscribe to 100 targets at the same time

Historical Candlestick Quota: 0/100

It means You can pull historical data of 100 targets within 30 days. From the date of pulling, each time you pull historical data of a target, one quota will be occupied within 30 days, and this quota will be released after 30 days.

https://openapi.moomoo.com/moomoo-api-doc/en/intro/authority.html#9123

dimensionblockchain commented 4 days ago

Excellent, TY very much! Shey Shey :-) So I can trade micro/fractional US ETFs/ Hong Kong ETS through python api? Yes?

On Sun, Nov 10, 2024 at 9:09 PM byblehua @.***> wrote:

Subscription Quota: 0/100

It means You can subscribe to 100 targets at the same time Historical Candlestick Quota: 0/100

It means You can pull historical data of 100 targets within 30 days. From the date of pulling, each time you pull historical data of a target, one quota will be occupied within 30 days, and this quota will be released after 30 days.

https://openapi.moomoo.com/moomoo-api-doc/en/intro/authority.html#9123

— Reply to this email directly, view it on GitHub https://github.com/FutunnOpen/py-futu-api/issues/183#issuecomment-2467192075, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZV73AQEM5OJYJLJ2OFI5LT2AAUV3AVCNFSM6AAAAABROWDTCSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRXGE4TEMBXGU . You are receiving this because you authored the thread.Message ID: @.***>

dimensionblockchain commented 4 days ago

And US options too?

On Sun, Nov 10, 2024 at 9:27 PM Scott Baker @.***> wrote:

Excellent, TY very much! Shey Shey :-) So I can trade micro/fractional US ETFs/ Hong Kong ETS through python api? Yes?

On Sun, Nov 10, 2024 at 9:09 PM byblehua @.***> wrote:

Subscription Quota: 0/100

It means You can subscribe to 100 targets at the same time Historical Candlestick Quota: 0/100

It means You can pull historical data of 100 targets within 30 days. From the date of pulling, each time you pull historical data of a target, one quota will be occupied within 30 days, and this quota will be released after 30 days.

https://openapi.moomoo.com/moomoo-api-doc/en/intro/authority.html#9123

— Reply to this email directly, view it on GitHub https://github.com/FutunnOpen/py-futu-api/issues/183#issuecomment-2467192075, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZV73AQEM5OJYJLJ2OFI5LT2AAUV3AVCNFSM6AAAAABROWDTCSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRXGE4TEMBXGU . You are receiving this because you authored the thread.Message ID: @.***>

byblehua commented 4 days ago

Yes

dimensionblockchain commented 4 days ago

Awesome!!!!!!!!!!!!!! Thank you so much for your time!!!!! :-)

On Sun, Nov 10, 2024 at 11:15 PM byblehua @.***> wrote:

Yes

— Reply to this email directly, view it on GitHub https://github.com/FutunnOpen/py-futu-api/issues/183#issuecomment-2467325595, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZV73ARYSJC2CY2MDMQG5AT2ABDPZAVCNFSM6AAAAABROWDTCSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRXGMZDKNJZGU . You are receiving this because you authored the thread.Message ID: @.***>

dimensionblockchain commented 4 days ago

Where do i get my api key from?

On Mon, Nov 11, 2024 at 12:36 AM Scott Baker @.***> wrote:

Awesome!!!!!!!!!!!!!! Thank you so much for your time!!!!! :-)

On Sun, Nov 10, 2024 at 11:15 PM byblehua @.***> wrote:

Yes

— Reply to this email directly, view it on GitHub https://github.com/FutunnOpen/py-futu-api/issues/183#issuecomment-2467325595, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZV73ARYSJC2CY2MDMQG5AT2ABDPZAVCNFSM6AAAAABROWDTCSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRXGMZDKNJZGU . You are receiving this because you authored the thread.Message ID: @.***>

dimensionblockchain commented 4 days ago

I just want to trade Hong Kong securities, the basics/lvl1 is fine for me so far.

On Mon, Nov 11, 2024 at 2:27 AM Scott Baker @.***> wrote:

Where do i get my api key from?

On Mon, Nov 11, 2024 at 12:36 AM Scott Baker @.***> wrote:

Awesome!!!!!!!!!!!!!! Thank you so much for your time!!!!! :-)

On Sun, Nov 10, 2024 at 11:15 PM byblehua @.***> wrote:

Yes

— Reply to this email directly, view it on GitHub https://github.com/FutunnOpen/py-futu-api/issues/183#issuecomment-2467325595, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZV73ARYSJC2CY2MDMQG5AT2ABDPZAVCNFSM6AAAAABROWDTCSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRXGMZDKNJZGU . You are receiving this because you authored the thread.Message ID: @.***>

dimensionblockchain commented 4 days ago

I am confused. I dont get any live data streaming on any market? The lvl2 platform has no price, mostly chinese and no translation. How much is it?

On Mon, Nov 11, 2024 at 2:34 AM Scott Baker @.***> wrote:

I just want to trade Hong Kong securities, the basics/lvl1 is fine for me so far.

On Mon, Nov 11, 2024 at 2:27 AM Scott Baker @.***> wrote:

Where do i get my api key from?

On Mon, Nov 11, 2024 at 12:36 AM Scott Baker @.***> wrote:

Awesome!!!!!!!!!!!!!! Thank you so much for your time!!!!! :-)

On Sun, Nov 10, 2024 at 11:15 PM byblehua @.***> wrote:

Yes

— Reply to this email directly, view it on GitHub https://github.com/FutunnOpen/py-futu-api/issues/183#issuecomment-2467325595, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZV73ARYSJC2CY2MDMQG5AT2ABDPZAVCNFSM6AAAAABROWDTCSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRXGMZDKNJZGU . You are receiving this because you authored the thread.Message ID: @.***>

byblehua commented 4 days ago

https://openapi.moomoo.com/moomoo-api-doc/en/intro/intro.html

Please use the link here, there should be an English link.

byblehua commented 4 days ago
image
byblehua commented 4 days ago
image
byblehua commented 4 days ago

Where do i get my api key from? On Mon, Nov 11, 2024 at 12:36 AM Scott Baker @.***> wrote:

No need apikey

byblehua commented 4 days ago

https://openapi.moomoo.com/moomoo-api-doc/en/quick/opend-base.html

There is a quick tutorial to teach you how to use OpenAPI.