Skip to content

Commit

Permalink
correct urls in README
Browse files Browse the repository at this point in the history
  • Loading branch information
joris22o committed Sep 20, 2019
1 parent f6ca2cc commit 98c3dae
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 21 deletions.
2 changes: 1 addition & 1 deletion Python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Code samples that show some of the LYNX API possible implementations.

*First you need to setup your environment to work with the LYNX API and Python following [these](/https://github.com/lynxbroker/API-examples/blob/master/Python/SETUP.md) instructions.*
*First you need to setup your environment to work with the LYNX API and Python following [these](https://github.com/lynxbroker/API-examples/blob/master/Python/SETUP.md) instructions.*

### Table of contents
- [**place_order**](https://github.com/lynxbroker/API-examples/tree/master/Python/place_order) - code example of placing an order though the API
Expand Down
12 changes: 6 additions & 6 deletions Python/place_order/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@

## Requirements:

> - [API Software](https://lynxbroker.github.io/API_versions) Installed
> - [API Software](https://api.lynx.academy/API_versions) Installed
>- TWS Running
> - Socket Connection enabled and configured: *Configure->API->Settings* *(Port - 7496 & Enable ActiveX and Socket Clients)*
> - Python 3.6 or higher
> - Set-up your environment to work with the API as described [here](/Python/README.md)
> - Set-up your environment to work with the API as described [here](/Python/SETUP.md)
>

At the bottom you will find the full example to place an order using the LYNX API, or download the .py file directly [here](https://raw.githubusercontent.com/lynxbroker/API-examples/master/Python/place_order/place_order.py).
At the bottom you will find the full example to place an order using the LYNX API, or download the .py file directly [here](/place_order.py).

## Initial Setup

Expand Down Expand Up @@ -239,9 +239,9 @@ python3 place_order.py

Take a further look at our online API Documentation to discover all of the possibilities using LYNX' API.

- [LYNX Basic Contract Definitions](https://api.lynx.academy/BasicContracts.md)
- [LYNX Basic Order Definitions](https://api.lynx.academy/BasicOrders.md)
- [LYNX Order Management](https://api.lynx.academy/OrderManagement.md)
- [LYNX Basic Contract Definitions](https://api.lynx.academy/BasicContracts)
- [LYNX Basic Order Definitions](https://api.lynx.academy/BasicOrders)
- [LYNX Order Management](https://api.lynx.academy/OrderManagement)

<br/>

Expand Down
9 changes: 4 additions & 5 deletions Python/request_contract_details/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
>- TWS Running
> - Socket Connection enabled and configured: *Configure->API->Settings* *(Port - 7496 & Enable ActiveX and Socket Clients)*
> - Python 3.6 or higher
> - Set-up your environment to work with the API as described [here](/Python/README.md)
> - Set-up your environment to work with the API as described [here](/Python/SETUP.md)
>

At the bottom you will find the full example to request Contract Details using the LYNX API, or download the .py file directly [here](https://raw.githubusercontent.com/lynxbroker/API-examples/master/Python/request_contract_details/request_contract_details.py).
At the bottom you will find the full example to request Contract Details using the LYNX API, or download the .py file directly [here](/request_contract_details.py).

## Initial Setup

Expand Down Expand Up @@ -87,7 +87,6 @@ self.reqContractDetails(reqId, contract)
```python
# Here we print the details returned by the Ewrapper
def contractDetails(self, reqId:int, contractDetails:ContractDetails):
super().contractDetails(reqId, contractDetails)
print("marketName: ", contractDetails.marketName, "\nvalidExchanges: ", contractDetails.validExchanges,\
"\nlongName: ", contractDetails.longName, "\nminTick: ",contractDetails.minTick)
#printinstance(contractDetails) using this print statement all of the availabe details will be printed out.
Expand Down Expand Up @@ -215,8 +214,8 @@ python3 request_contract_details.py

Take a further look at our online API Documentation to discover all of the possibilities using LYNX' API.

- [LYNX Basic Contract Definitions](https://api.lynx.academy/BasicContracts.md)
- [LYNX Requesting Contract Details](https://api.lynx.academy/RequestingContractDetails.md)
- [LYNX Basic Contract Definitions](https://api.lynx.academy/BasicContracts)
- [LYNX Requesting Contract Details](https://api.lynx.academy/RequestingContractDetails)

<br/>

Expand Down
8 changes: 4 additions & 4 deletions Python/request_historical_data/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
>- TWS Running
> - Socket Connection enabled and configured: *Configure->API->Settings* *(Port - 7496 & Enable ActiveX and Socket Clients)*
> - Python 3.6 or higher
> - Set-up your environment to work with the API as described [here](/Python/README.md)
> - Set-up your environment to work with the API as described [here](/Python/SETUP.md)
>

At the bottom you will find the full example to request Historical Data using the LYNX API, or download the .py file directly [here](https://raw.githubusercontent.com/lynxbroker/API-examples/master/Python/request_historical_data/request_historical_data.py).
At the bottom you will find the full example to request Historical Data using the LYNX API, or download the .py file directly [here](/request_historical_data.py).

## Initial Setup

Expand Down Expand Up @@ -268,8 +268,8 @@ python3 request_historical_data.py

Take a further look at our online API Documentation to discover all of the possibilities using LYNX' API.

- [LYNX Basic Contract Definitions](https://api.lynx.academy/BasicContracts.md)
- [LYNX Requesting Historical Data](https://api.lynx.academy/HistoricalBarData.md)
- [LYNX Basic Contract Definitions](https://api.lynx.academy/BasicContracts)
- [LYNX Requesting Historical Data](https://api.lynx.academy/HistoricalBarData)

<br/>

Expand Down
10 changes: 5 additions & 5 deletions Python/request_market_data/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
>- TWS Running
> - Socket Connection enabled and configured: *Configure->API->Settings* *(Port - 7496 & Enable ActiveX and Socket Clients)*
> - Python 3.6 or higher
> - Set-up your environment to work with the API as described [here](/Python/README.md)
> - Set-up your environment to work with the API as described [here](/Python/SETUP.md)
>

At the bottom you will find the full example to request Market Data using the LYNX API, or download the .py file directly [here](https://raw.githubusercontent.com/lynxbroker/API-examples/master/Python/request_market_data/request_market_data.py).
At the bottom you will find the full example to request Market Data using the LYNX API, or download the .py file directly [here](/request_market_data.py).

## Initial Setup

Expand Down Expand Up @@ -211,9 +211,9 @@ python3 request_market_data.py

Take a further look at our online API Documentation to discover all of the possibilities using LYNX' API.

- [LYNX Basic Contract Definitions](https://api.lynx.academy/BasicContracts.md)
- [LYNX Requesting Market Data](https://api.lynx.academy/TopMarketData.md)
- [LYNX Available TickTypes](https://api.lynx.academy/TickTypes.md)
- [LYNX Basic Contract Definitions](https://api.lynx.academy/BasicContracts)
- [LYNX Requesting Market Data](https://api.lynx.academy/TopMarketData)
- [LYNX Available TickTypes](https://api.lynx.academy/TickTypes)
<br/>

<p align="center">
Expand Down

0 comments on commit 98c3dae

Please sign in to comment.