- Python Algorithmic Trading Cookbook
- Pushpak Dagade
- 157字
- 2021-06-11 18:29:22
Stock Markets - Primer on Trading
When building algorithmic trading systems, it is essential to have an account open with a modern broker that provides APIs for placing and querying trades programmatically. This allows us to control the broking account, which is conventionally operated manually using the broker's website, using our Python script, which would be part of our larger algorithmic trading system. This chapter demonstrates various essential recipes that introduce the essential broker API calls needed for developing a complete algorithmic trading system.
This chapter covers the following recipes:
- Setting up Python connectivity with the broker
- Querying a list of instruments
- Fetching an instrument
- Querying a list of exchanges
- Querying a list of segments
- Knowing other attributes supported by the broker
- Placing a simple REGULAR order
- Placing a simple BRACKET order
- Placing a simple DELIVERY order
- Placing a simple INTRADAY order
- Querying margins and funds
- Calculating the brokerage charged
- Calculating the government taxes charged
Let's get started!
推薦閱讀
- Instant Raspberry Pi Gaming
- 精通MATLAB圖像處理
- Spark編程基礎(chǔ)(Scala版)
- 離散事件系統(tǒng)建模與仿真
- 快學(xué)Flash動畫百例
- Maya 2012從入門到精通
- AWS Administration Cookbook
- Arduino &樂高創(chuàng)意機器人制作教程
- 21天學(xué)通Visual C++
- PostgreSQL 10 Administration Cookbook
- 激光選區(qū)熔化3D打印技術(shù)
- Mastering Ceph
- 與人共融機器人的關(guān)節(jié)力矩測量技術(shù)
- 運動控制系統(tǒng)
- 數(shù)據(jù)庫技術(shù):Access 2003計算機網(wǎng)絡(luò)技術(shù)