Skip to content

Commit 478060c

Browse files
author
Jacob Davis
authored
Update README.md
1 parent 3a2ca6d commit 478060c

File tree

1 file changed

+15
-26
lines changed

1 file changed

+15
-26
lines changed

README.md

Lines changed: 15 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -72,32 +72,6 @@ QuoteRequest::getQuotes([
7272
## Other implementations
7373
You can also implement the api directly in any other way you wish. Full documentation is maintained here: <a href="https://1forge.com/forex-data-api">https://1forge.com/forex-data-api</a>
7474

75-
76-
### Get all quotes
77-
#### Request
78-
```
79-
GET https://1forge.com/forex-data-api/1.0.1/quotes
80-
```
81-
82-
#### Response
83-
```javascript
84-
[
85-
{
86-
symbol: "AUDJPY",
87-
timestamp: 1496096332,
88-
price: 82.726,
89-
},
90-
{
91-
symbol: "AUDUSD",
92-
timestamp: 1496096332,
93-
price: 0.74396,
94-
},
95-
{
96-
etc: "........"
97-
}
98-
]
99-
```
100-
10175
### Get specific quotes
10276
#### Request
10377
```
@@ -147,6 +121,21 @@ GET https://1forge.com/forex-data-api/1.0.1/symbols
147121
]
148122
```
149123

124+
### Get the market status
125+
#### Request
126+
```
127+
GET https://1forge.com/forex-data-api/1.0.1/market_status
128+
```
129+
130+
#### Response
131+
```javascript
132+
[
133+
{
134+
market_is_open: true
135+
}
136+
]
137+
```
138+
150139
## Support and Contact
151140
Please contact me at contact@1forge.com if you have any questions or requests.
152141

0 commit comments

Comments
 (0)