Skip to content

Instantly share code, notes, and snippets.

@fuermosi777
Last active August 29, 2015 14:24
Show Gist options
  • Save fuermosi777/1b0d903ead72f1a01c8f to your computer and use it in GitHub Desktop.
Save fuermosi777/1b0d903ead72f1a01c8f to your computer and use it in GitHub Desktop.
doc for Q API
Get backtesting data of DMA Strategy
/api/dma_backtesting/?code=000001&short=5&long=20&sd=0.05&length=700
Get buy/sell signal of latest trading day for DMA strategy
/api/dma_today/?code=000001&short=5&long=20&sd=0.05
Get all stock list
/api/stock_list/?category=hs300&keyword=xxx
Get single stock's realtime data
/api/single_stock_now/?code=000001
Get single stock's historical data
/api/single_stock_history/?code=000001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment