Bull Call Spread
The Bull Call Spread places two orders which both the legs will be call and in which the first one is bought and second
one is sold, the strike price can be defined by the users.
POST: /apiV2/strategies/bullCallSpread
https://connect.thefirstock.com/apiV2/strategies/bullCallSpread
Request Details
Code
curl --X POST 'https://connect.thefirstock.com/apiV2/strategies/multiPlaceOrders' \
--H 'Content-Type: application/json' \
--d '{
"symbol": "",
"callBuyStrikePrice": "",
"callSellStrikePrice": "",
"expiry": "",
"product": "",
"quantity": "",
"remarks": "",
"jKey": "",
"actId": ""
}'
from thefirstock import thefirstock
BCS = thefirstock . firstock_BullCallSpread (
symbol = "" ,
callBuyStrikePrice = "" ,
callSellStrikePrice = "" ,
expiry = "" ,
product = "" ,
quantity = "" ,
remarks = ""
)
print ( BCS )
const Firstock = require ( 'thefirstock' );
const firstock = new Firstock ();
firstock . bullCallSpread (
{
symbol : "NIFTY" ,
callBuyStrikePrice : "18000" ,
callSellStrikePrice : "17000" ,
expiry : "10NOV22" ,
product : "I" ,
quantity : "1" ,
remarks : "BullCallSpread" ,
},
( err , result ) => {
console . log ( "Error, " , err );
console . log ( "Result: " , result );
}
);
var result = firstock . bullCallSpread ( symbol : "NIFTY" ,
callBuyStrikePrice : "18000" ,
callSellStrikePrice : "17000" ,
expiry : "" ,
product : "I" ,
quantity : "1" ,
remarks : ""
);
Success Response Details
Failure Response Details
Sample Response