Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
removing VTT for now, will be added back once bugs are fixed
  • Loading branch information
5paisa authored Sep 3, 2024
1 parent b9714e3 commit 544c029
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -386,34 +386,6 @@ print(df)
# Note : TimeFrame Should be from this list ['1m','5m','10m','15m','30m','60m','1d']
```

#### VTT

```py

# Create VTT Order

InitialTriggerPrice - Trigger price of vtt Order
InitialLimitPrice - Limit price of vtt order
MatchingCondition - GT/LT
GT = When Trigger Price is greater than LTP of stock put GL.
LT = When Trigger Price is less than LTP of stock put LT.
Profit and SL Leg limit and trigger price fields InitialTriggerPrice, StopLossTriggerPrice, ProfitLimitPrice, ProfitTriggerPrice

client.vtt_order('P', Exch="N", ExchType="C", ScripCode=1660, InitialLimitPrice=490, StopLossLimitPrice=0.0, InitialTriggerPrice=489, StopLossTriggerPrice=0.0, ProfitLimitPrice=0.0, ProfitTriggerPrice=0.0, Quantity=1, BuySell="Buy", MatchingCondition="GT", Symbol="ITC")

#modify VTT Order

client.vtt_order('M', VTTOrderId=3121, InitialLimitPrice=0.0, StopLossLimitPrice=0.0, InitialTriggerPrice=337, StopLossTriggerPrice=0.0, ProfitLimitPrice=0.0, ProfitTriggerPrice=0.0, MatchingCondition="GT", Qty=1)

#cancel VTT Order

client.vtt_order('C',
VTTOrderId=3121)

#get all VTT Orders

client.vtt_order('G')
```

#### Bulk Order Placement

Expand Down

0 comments on commit 544c029

Please sign in to comment.