Skip to content

Commit 7da2b37

Browse files
committed
fixed| Added
Signed-off-by:ghostjat <[email protected]>
1 parent 4a67d31 commit 7da2b37

File tree

3 files changed

+17
-20
lines changed

3 files changed

+17
-20
lines changed

Readme.md

-19
Original file line numberDiff line numberDiff line change
@@ -117,25 +117,6 @@ $remarks = null, int $discloseQty = null, ): boolean` set gtt or gtc order
117117

118118
` public telegram(string $msg): bool` send telegram notification
119119

120-
` protected orderRecords(type $fields)` to keep local record of orders
121-
122-
` protected sessionData($data)`
123-
124-
` protected log(object $req, array $msg): boolean`
125-
126-
` protected decode($jsonData)`
127-
128-
` protected request(string $routes, array $jData, $iskey = true)`
129-
130-
` protected post($routes, $body, $contentType = 'application/json')`
131-
132-
` protected jData($data, $isKey = true)`
133-
134-
` protected jKey()`
135-
136-
` private setTimeZone(string $timezone = 'Asia/Kolkata'): bool`
137-
138-
139120
****
140121

141122
## Todo

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"require": {
2828
"guzzlehttp/guzzle": "^7.0",
2929
"ratchet/pawl": "^0.4.1",
30-
"katzgrau/klogger": "dev-master",
30+
"katzgrau/klogger": "^1.2.2",
3131
"spomky-labs/otphp": "^11.0",
3232
"php": ">=8.0"
3333
}

examples/login.php

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
require '../vendor/autoload.php';
4+
5+
use Core\Api\Shoonya;
6+
7+
$api = new Shoonya();
8+
9+
if($api->login()) {
10+
// algo logic ..........!
11+
12+
}
13+
14+
if($api->logout()) {
15+
// logic .....
16+
}

0 commit comments

Comments
 (0)