2019-01-20 23:57:38 +01:00
|
|
|
.. _netscript_tixapi:
|
|
|
|
|
2018-01-09 21:48:06 +01:00
|
|
|
Netscript Trade Information eXchange (TIX) API
|
|
|
|
==============================================
|
|
|
|
|
|
|
|
The Trade Information eXchange (TIX) is the communications protocol supported by the World Stock Exchange (WSE).
|
2018-11-04 23:39:30 +01:00
|
|
|
The WSE provides an API that allows you to automatically communicate with the
|
2019-01-09 11:06:49 +01:00
|
|
|
:ref:`Stock Market <gameplay_stock_market>`.
|
|
|
|
This API lets you write code using Netscript
|
2018-01-09 21:48:06 +01:00
|
|
|
to build automated trading systems and create your own algorithmic trading strategies. Access to this
|
|
|
|
TIX API can be purchased by visiting the World Stock Exchange in-game.
|
|
|
|
|
|
|
|
Access to the TIX API currently costs $5 billion. After you purchase it, you will retain this
|
|
|
|
access even after you 'reset' by installing Augmentations
|
|
|
|
|
2019-03-03 04:08:54 +01:00
|
|
|
.. toctree::
|
|
|
|
:caption: API Functions:
|
|
|
|
|
|
|
|
getStockSymbols() <tixapi/getStockSymbols>
|
|
|
|
getStockPrice() <tixapi/getStockPrice>
|
|
|
|
getStockPosition() <tixapi/getStockPosition>
|
|
|
|
getStockMaxShares() <tixapi/getStockMaxShares>
|
|
|
|
buyStock() <tixapi/buyStock>
|
|
|
|
sellStock() <tixapi/sellStock>
|
|
|
|
shortStock() <tixapi/shortStock>
|
|
|
|
sellShort() <tixapi/sellShort>
|
|
|
|
placeOrder() <tixapi/placeOrder>
|
|
|
|
cancelOrder() <tixapi/cancelOrder>
|
|
|
|
getOrders() <tixapi/getOrders>
|
|
|
|
getStockVolatility() <tixapi/getStockVolatility>
|
|
|
|
getStockForecast() <tixapi/getStockForecast>
|
|
|
|
purchase4SMarketData() <tixapi/purchase4SMarketData>
|
|
|
|
purchase4SMarketDataTixApi() <tixapi/purchase4SMarketDataTixApi>
|